Skip to content

Track zarr v3 migration for OpenGHG storage #1658

Description

@brendan-m-murphy

Umbrella tracker for the zarr v3 migration work.

Goal

Make OpenGHG's openghg.storage.ZarrStore work with zarr-python v3 while preserving current zarr v2 behavior during the transition.

Global context

The migration spans several cross-library areas that should be pinned down with focused tests before loosening OpenGHG's zarr dependency:

  • zarr store APIs;
  • xarray write semantics;
  • chunk alignment;
  • consolidated metadata;
  • version copying.

Keep early work behavior-preserving where possible. Do not enable zarr v3 storage by default until the compatibility, copy, write-safety, metadata, and test-matrix pieces are in place.

References

Sub-issues

Use this checklist to track progress and, if needed, manually assign these as child issues of this umbrella issue.

Suggested implementation order

  1. Add a local zarr compatibility layer #1659
  2. Implement an OpenGHG copy_zarr_store helper #1660
  3. Fix versioned zarr store copy semantics #1661
  4. Remove zarr ThreadSynchronizer use and adopt xarray chunk alignment #1662
  5. Make non-contiguous update writes structurally safe #1663
  6. Make consolidated metadata behavior zarr-format aware #1664
  7. Add a zarr v3 test matrix for OpenGHG storage #1665

Agent update instructions

Agents working on any sub-issue should add a comment to this umbrella issue before handing off or closing their work. The comment should include:

  • the sub-issue number worked on;
  • what was changed;
  • tests/checks run;
  • any blockers, follow-up work, dependency constraints, or behavior that could affect later stages of the migration.

Keep this issue focused on progress tracking and cross-stage handoff notes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions