From a11f3d450054e14713d6b5b5dd424ef49a5a4855 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 22 Aug 2022 22:00:07 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/codespell-project/codespell: v2.1.0 → v2.2.1](https://github.com/codespell-project/codespell/compare/v2.1.0...v2.2.1) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 01eb398a9..5315c30e9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -40,7 +40,7 @@ repos: args: ["docs/source"] - repo: https://github.com/codespell-project/codespell - rev: v2.1.0 + rev: v2.2.1 hooks: - id: codespell args: ["--skip=*.ipynb", "-w", "docs/source", "echopype"] From c53499c8a9319332771e87cb8c6fd6957277ec8e Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 22 Aug 2022 22:00:31 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- echopype/echodata/echodata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/echopype/echodata/echodata.py b/echopype/echodata/echodata.py index e48ae0ba7..b375e3648 100644 --- a/echopype/echodata/echodata.py +++ b/echopype/echodata/echodata.py @@ -249,7 +249,7 @@ def _harmonize_env_param_time( ): """ Harmonize time coordinate between Beam_groupX data and env_params to make sure - the timestamps are broacast correctly in calibration and range calculations. + the timestamps are broadcast correctly in calibration and range calculations. Regardless of the source, if `p` is an xr.DataArray, the time coordinate name needs to be `time1` to be consistent with the time coordinate in EchoData["Environment"].