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

Multi-level datasets should be Zarr groups #1123

Open
forman opened this issue Feb 6, 2025 · 0 comments
Open

Multi-level datasets should be Zarr groups #1123

forman opened this issue Feb 6, 2025 · 0 comments
Assignees
Labels
enhancement New feature or request xcube data stores This is related to data store framework or data store implementations

Comments

@forman
Copy link
Member

forman commented Feb 6, 2025

Is your feature request related to a problem? Please describe.

It would be handy if xcube multi-level datasets could be opened using xrarray.open_datatree().
A missing .zgroup is currently preventing this.

If we add a Zarr v2 .zgroup:

Image

we can open them:

Image

Describe the solution you'd like

  1. always write .zgroup when writing multi-level datasets and optionally generated consolidated metadata for group.
  2. Move contents of .zlevels into .zattrs. (pros and cons TBD)
  3. Update the dataset spec to reflect this.
@forman forman added enhancement New feature or request xcube data stores This is related to data store framework or data store implementations labels Feb 6, 2025
@forman forman self-assigned this Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request xcube data stores This is related to data store framework or data store implementations
Projects
None yet
Development

No branches or pull requests

1 participant