-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
open_datatree performance improvement on NetCDF, H5, and Zarr files #9014
base: main
Are you sure you want to change the base?
Conversation
Thank you for opening this pull request! It may take us a few days to respond here, so thank you for being patient. |
…to datatree-zarr merging branches
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had thoughts about the legacyhdf5 api and how it might be incorporated.
renaming variables Co-authored-by: Tom Nicholas <tom@cworthy.org>
…g group variable typing hints (str | Iterable[str] | callable) under the open_datatree for h5 files. Finally, separating positional from keyword args
…ding group variable typing hints (str | Iterable[str] | callable) under the open_datatree method for netCDF files
…ding group variable typing hints (str | Iterable[str] | callable) under the open_datatree method for zarr files
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great. Thanks for working through the dual library stuff with me.
Yes very excited by this! Two final things:
xarray/asv_bench/benchmarks/dataset_io.py Line 125 in 447e5a3
Alternatively we could leave adding that benchmark to a separate PR? |
Sorry for being late to the party, but do we really want to have Update: It looks like there are already several keyword arguments in the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Beside my other comment on the open_*
-function kwargs there is not much to add to @TomNicholas's comment.
We might want to further deduplicate code in the backends (by moving this into backend/store.py). There has already quite some work been done by @jthielen in #7437.
Should open_datatree
be added to the API with this PR too?
Those issues can be handled in subsequent PR.
Great work @aladinor 🚀.
In the meeting yesterday we decided to not bother with deduplication for now (and anyways it is nice to have backends somewhat self-contained). The API will be extended in #9033, the idea is to have one single PR that marks the entire Edit: and I agree, since |
open_datatree performance improvement on NetCDF files
whats-new.rst