From c454aab63fdc22f6de9d9bbdc93e3d99ea1c07d0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 3 Nov 2024 13:24:07 -0700 Subject: [PATCH 1/6] Bump codecov/codecov-action from 4.5.0 to 4.6.0 in the github-actions group (#629) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/integration_test.yml | 2 +- .github/workflows/unit_test.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/integration_test.yml b/.github/workflows/integration_test.yml index ad76ba127..a5c6bea61 100644 --- a/.github/workflows/integration_test.yml +++ b/.github/workflows/integration_test.yml @@ -42,6 +42,6 @@ jobs: pytest icepyx/tests/integration --verbose --cov app - name: "Upload coverage report" - uses: "codecov/codecov-action@v4.5.0" + uses: "codecov/codecov-action@v4.6.0" with: token: "${{ secrets.CODECOV_TOKEN }}" diff --git a/.github/workflows/unit_test.yml b/.github/workflows/unit_test.yml index 8e2e186a2..3d14bc04d 100644 --- a/.github/workflows/unit_test.yml +++ b/.github/workflows/unit_test.yml @@ -38,6 +38,6 @@ jobs: --ignore=icepyx/tests/integration - name: "Upload coverage report" - uses: "codecov/codecov-action@v4.5.0" + uses: "codecov/codecov-action@v4.6.0" with: token: "${{ secrets.CODECOV_TOKEN }}" From 5d668c2e726cb654d70fd962bcba1edebd15baf2 Mon Sep 17 00:00:00 2001 From: Jessica Scheick Date: Mon, 4 Nov 2024 16:04:11 -0500 Subject: [PATCH 2/6] add dependabot ignore for non-semantic v1 of repository-traffic-action (#624) --- .github/dependabot.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 0b84a2431..2812bc91a 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -11,3 +11,6 @@ updates: - "*" # Group all Actions updates into a single larger pull request schedule: interval: monthly + ignore: + - dependency-name: "sangonzal/repository-traffic-action" + versions: "v1" From 50af59df64b8421596f59162b355dcff390a0199 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 4 Nov 2024 18:17:29 -0700 Subject: [PATCH 3/6] [pre-commit.ci] pre-commit autoupdate (#631) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- .pre-commit-config.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index cbb4ad81d..6557e47ae 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.6.0 + rev: v5.0.0 hooks: - id: check-toml - id: check-yaml @@ -26,14 +26,14 @@ repos: - tomli - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.6.3 + rev: v0.7.2 hooks: - id: ruff args: ["--fix", "--show-fixes"] - id: ruff-format - repo: https://github.com/abravalheri/validate-pyproject - rev: v0.19 + rev: v0.22 hooks: - id: validate-pyproject From 4539e829e65966cb1b3163018ddcf117e33a3c60 Mon Sep 17 00:00:00 2001 From: Jessica Scheick Date: Thu, 14 Nov 2024 13:29:17 -0500 Subject: [PATCH 4/6] properly apply all dimensions to deeply nested variables (#623) --- icepyx/core/read.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/icepyx/core/read.py b/icepyx/core/read.py index b3212aef2..b731fb90b 100644 --- a/icepyx/core/read.py +++ b/icepyx/core/read.py @@ -553,6 +553,8 @@ def _combine_nested_vars(is2ds, ds, grp_path, wanted_dict): pass ds = ds[grp_spec_vars].swap_dims({"delta_time": "photon_idx"}) + # add the rest of the dimensions of length 1 from is2ds to ds + ds = ds.expand_dims(dim=[dim for dim in is2ds.dims if is2ds[dim].size == 1]) is2ds = is2ds.assign(ds) return is2ds @@ -812,7 +814,7 @@ def _build_single_file_dataset(self, file, groups_list): # if there are any deeper nested variables, # get those so they have actual coordinates and add them - # this may apply to (at a minimum): ATL08 + # this may apply to (at a minimum): ATL06, ATL08 if any(grp_path in grp_path2 for grp_path2 in wanted_groups_list): for grp_path2 in wanted_groups_list: if grp_path in grp_path2: From 2511dc68c383d98065f6fad33cd2f1f7b77605de Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 2 Dec 2024 18:59:59 -0700 Subject: [PATCH 5/6] [pre-commit.ci] pre-commit autoupdate (#635) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6557e47ae..5e7682cf4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -26,14 +26,14 @@ repos: - tomli - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.7.2 + rev: v0.8.1 hooks: - id: ruff args: ["--fix", "--show-fixes"] - id: ruff-format - repo: https://github.com/abravalheri/validate-pyproject - rev: v0.22 + rev: v0.23 hooks: - id: validate-pyproject From 760500256a76276df1de4a5dd335f69a127cccff Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 8 Jan 2025 06:57:48 +1300 Subject: [PATCH 6/6] [pre-commit.ci] pre-commit autoupdate (#638) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- .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 5e7682cf4..b84a2c9de 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -26,7 +26,7 @@ repos: - tomli - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.8.1 + rev: v0.8.6 hooks: - id: ruff args: ["--fix", "--show-fixes"]