Skip to content

Support nested Zarr structures #113

Closed

Description

@konstntokas

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

zappend currently supports single Zarr groups only. Nested products represented by xr.DataTree, such as multi-resolution groups, require manual per-group appends and can become inconsistent on failure.

Describe the solution you'd like

Support xr.DataTree directly in zappend():

  • Append all data-bearing groups along the append dimension.
  • Require consistent group paths across slices.
  • Roll back the complete DataTree slice if any group fails.
  • Preserve root attributes.
  • Support optional per-group chunk/shard configuration via group_variables.

Describe alternatives you've considered

Appending each group separately works, but cannot provide rollback across the complete nested slice.

Additional context

Support should work for Zarr v2 and v3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions