Add parcels._datasets.remote#2574
Merged
VeckoTheGecko merged 43 commits intoParcels-code:mainfrom Apr 13, 2026
Merged
Conversation
…ot API Users must now do `import parcels.tutorial`
was used for testing
VeckoTheGecko
commented
Apr 13, 2026
| def open_dataset(self) -> xr.Dataset: ... | ||
|
|
||
|
|
||
| class _V3Dataset(_ParcelsDataset): |
Contributor
Author
There was a problem hiding this comment.
I thought that this approach was better than migrating the datasets to Zarr (i.e., working closer to the source netcdf files, without having to think about deprecation cycles and data storage etc.)
Member
erikvansebille
left a comment
There was a problem hiding this comment.
Looks good; a few small comments below
Use combine coords instead
Co-authored-by: Erik van Sebille <e.vansebille@uu.nl>
erikvansebille
approved these changes
Apr 13, 2026
option use_new_combine_kwarg_defaults was introduced in 2025.8.0
It previously didn't respect the purpose since it relied on the KeyError
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
This PR adds tooling for ingesting remote datasets that are:
data-zarrfor when we add zipped zarr filesThis PR also:
download_example_datasetutil (and renames the list_example_dataset util)parcelsnamespaceparcels._datasets.remotemodule as well as a thin wrapper moduleparcels.tutorialparcels._datasets.remote.open_datasetwhich returns an xarray datasetChecklist
mainfor normal development,v3-supportfor v3 support)AI Disclosure