Skip to content

Multi-level datasets should be Zarr groups #1123

@forman

Description

@forman

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.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestxcube data storesThis is related to data store framework or data store implementations

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions