Skip to content

Use Zarr 3Β #1182

@forman

Description

@forman

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

This issue comprises 2 important sub-issues

  1. xcube still uses and relies on Zarr 2, this concerns the Python package and the format. This has manyfold implications.
  2. when xcube is installed with no version requirement but an explicit zarr requirement, version xcube 1.7.1 will be installed as this is the last one that doesn't enforce zarr >=2.18,<3. Many xcube data store plugins are broken in this constellation (e.g., xcube-cmems, xcube-sh).

Describe the solution you'd like

Immediate actions:

  • In the current xcube version, check the zarr version eagerly and raise an error if it is not zarr >=2.18,<3. Error message: give advice on how to proceed, say that the issue will be fixed asap. Release this asap.
  • Optionally patch older xcube versions on conda-forge to enforce zarr >=2.18,<3.

More effort, but should be addressed immediately:

  • Migrate code to allow for using Zarr 3 wrt to API and format compatibility. Stay with Zarr 2 format by default when writing for time being. Adjust unit tests, verify against all example notebooks.
  • Update documentation, where applicable.
  • Do the same as above for applicable plugins.

After that:

Additional context

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingenhancementNew feature or requesturgentHigh external pressure to address this ASAP

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions