Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

opendap / dap4 support for pydap backend #10182

Draft
wants to merge 26 commits into
base: main
Choose a base branch
from
Draft

Conversation

Mikejmnez
Copy link
Contributor

@Mikejmnez Mikejmnez commented Mar 28, 2025

There have been some (revitalizing) upgrades over the last year to pydap (with some more to come), including authentication, pydap data model (dap2 vs dap4). This Draft PR aims to

  • DOC: Update info on how to authenticate (handled by requests, which recovers credentials )
  • DOC: updates links to new (regularly updated) pydap documentation.
  • DOC: How to define opendap protocol via URLs.
  • DOC: Some info on caching sessions to avoid repeatedly downloading same metadata/data from server. At least point to pydap documentation. (Performance upgrade)
  • Removes slashes in variable names (part of dap4 protocol, which allows for hierarchical variables in dataset)
  • Support for DataTree.
  • Improves testing of backend.

Mikejmnez and others added 25 commits March 28, 2025 09:30
The name of the repo has changed from `zarr` to `zarr-python` it was still working due to github re-direct, but better to be explicit about which repo this is aiming at
)

* Add test to check units appear in FacetGrid plot

- appended test to `TestFacetGrid` class inside test_plot.py
- checks that units are added to the plot axis labelling

* fix: ensure axis labels include units in FacetGrid plots

- Fixed an issue where axis labels for FacetGrid plots did not display
units when provided.
- Now, both the dimension name and its corresponding unit (if available)
are shown on the axis label.

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* added whats-new documentation

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
)

* bug: fix write_empty_chunks for zarr v3

* future proof write_empty_chunks in append flow

* test: fix write_empty_test for zarr 2

* typing: fix typing for write_empty_chunks

* small edits

---------

Co-authored-by: Deepak Cherian <[email protected]>
…data#10192)

Bumps the actions group with 1 update: [scientific-python/upload-nightly-action](https://github.com/scientific-python/upload-nightly-action).


Updates `scientific-python/upload-nightly-action` from 0.6.1 to 0.6.2
- [Release notes](https://github.com/scientific-python/upload-nightly-action/releases)
- [Commits](scientific-python/upload-nightly-action@82396a2...b36e8c0)

---
updated-dependencies:
- dependency-name: scientific-python/upload-nightly-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
RUF046 Value being cast to `int` is already an integer
* add `scipy-stubs` as extra `[types]` dependency

* add changelog entry for pydata#10202
* Update pre-commit hooks

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.9.9 → v0.11.4](astral-sh/ruff-pre-commit@v0.9.9...v0.11.4)
- [github.com/abravalheri/validate-pyproject: v0.23 → v0.24.1](abravalheri/validate-pyproject@v0.23...v0.24.1)
- [github.com/crate-ci/typos: dictgen-v0.3.1 → v1](crate-ci/typos@dictgen-v0.3.1...v1)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* fix references to core classes in docs

* what's new
)

* Fixes dimension order in xarray.Dataset.to_stacked_array

* corrected dummy variable name to satisfy mypy

* added type annotation to satisfy mypy

* corrected type annotation to satisfy mypy
* Revert "Remove PR labeler bot (pydata#8525)"

This reverts commit ce1af97.

* Remove redundant globs

There was some duplication here as `**` would capture `*` etc

* Update actions/labeler to v5

* Label all PRs as "needs triage"

* Try my best to update config to match current structure

* patch needs triage regex

* run pre-commit

* Update labeler.yml to match current project structure

* pr feedback
@github-actions github-actions bot added topic-zarr Related to zarr storage library CI Continuous Integration tools topic-rolling Automation Github bots, testing workflows, release automation io labels Apr 12, 2025
@Mikejmnez
Copy link
Contributor Author

Apologies for all the added labels / contributors. Didn't have much time to work on this pr this week, and so I had to rebase and merge the main branch to this one. Changed files are correct though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Automation Github bots, testing workflows, release automation CI Continuous Integration tools io topic-backends topic-documentation topic-indexing topic-performance topic-plotting topic-rolling topic-zarr Related to zarr storage library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants