-
Notifications
You must be signed in to change notification settings - Fork 315
Add support for handling zarr urls #7113
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
stephenworsley
wants to merge
29
commits into
SciTools:main
Choose a base branch
from
stephenworsley:zarr_url_support
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+612
−125
Open
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
7b9e044
add support for handling zarr urls
stephenworsley 398600e
fix filepath handling
stephenworsley beb1109
fix test
stephenworsley fa9637a
Improve scalar handling.
trexfeathers 479dc02
Correct URI handling.
trexfeathers 1409ba5
NcZarr lazy saving.
trexfeathers 5999fb9
Idiomatic handling of URL fragments.
trexfeathers ba011c3
Fix _generate_cubes.
trexfeathers 2e5bca9
Merge remote-tracking branch 'upstream/main' into zarr_url_support
trexfeathers eee838a
load_meshes better handling of non-iterables.
trexfeathers d22c877
Test coverage.
trexfeathers 799bf8b
Documentation updates.
trexfeathers 9878557
Fix tests.
trexfeathers 87d38bc
Fix doctest.
trexfeathers 9767294
Additional roundtrip test.
trexfeathers 510b71a
Additional roundtrip test.
trexfeathers ef74334
Parameterise test_io_init.py.
trexfeathers a454cee
More sensible decode_uri.
trexfeathers f033661
Review comments.
trexfeathers 68ecd90
Update lib/iris/fileformats/netcdf/saver.py
trexfeathers d24d1f4
Update lib/iris/fileformats/netcdf/saver.py
trexfeathers b8934b8
Update lib/iris/fileformats/netcdf/saver.py
trexfeathers cd50372
Update lib/iris/fileformats/netcdf/loader.py
trexfeathers bcb986a
Update lib/iris/tests/results/file_load/known_loaders.txt
trexfeathers b11593c
Update lib/iris/tests/test_io_init.py
trexfeathers 90236d2
Added news fragments
ukmo-ccbunney 47e59d4
Update lib/iris/tests/unit/io/test__generate_cubes.py
trexfeathers 9b50276
Update lib/iris/tests/results/file_load/known_loaders.txt
trexfeathers 1aa431e
Update lib/iris/tests/results/file_load/known_loaders.txt
trexfeathers File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| :user:`trexfeathers` altered :func:`iris.io.decode_uri` to separate out URI | ||
| **fragments** (the section following the ``#`` character) - | ||
| :func:`~iris.io.decode_uri` now returns a 3-part tuple: ``scheme``, ``path``, | ||
| and ``fragment``. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| :user:`trexfeathers` and :user:`stephenworsley` added support for loading and | ||
| saving of Zarr files formatted in Zarr Storage Spec Version 2 via the | ||
| `NetCDF NCZarr <https://docs.unidata.ucar.edu/nug/current/nczarr_head.html>`_ | ||
| implementation. (:issue:`6967`) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| :user:`trexfeathers` and :user:`stephenworsley` added functionality to the NetCDF | ||
| loader and saver to handle Zarr file I/O using the | ||
| `NetCDF NCZarr <https://docs.unidata.ucar.edu/nug/current/nczarr_head.html>`_ | ||
| implementation. (:issue:`6967`) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.