You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add experimental support for rectilinear (variable-sized) chunks (#3802)
Introduces a unified `ChunkGridMetadata` model that handles both regular and
rectilinear chunk layouts through a common `RegularDimension`/`VaryingDimension`
abstraction. Rectilinear chunks are gated behind a feature flag
(`zarr.config.set({'array.rectilinear_chunks': True})`).
Key changes:
- New `ChunkGridMetadata` replaces `RegularChunkGrid` as the internal
representation, supporting both regular and rectilinear dimensions
- Rectilinear chunk grids can be created via nested sequences passed to
`chunks` (e.g., `[[10, 20, 30], [50, 50]]`)
- Rectilinear sharding: shard boundaries can be rectilinear while inner
chunks remain regular
- Existing arrays with regular chunk grids are read/written identically
Breaking change:
- `BaseCodec.validate()` and `CodecPipeline.validate()` now receive
`ChunkGridMetadata` instead of `ChunkGrid` for the `chunk_grid` parameter
---------
Co-authored-by: Davis Bennett <davis.v.bennett@gmail.com>
Co-authored-by: David Stansby <dstansby@gmail.com>
Co-authored-by: Deepak Cherian <dcherian@users.noreply.github.com>
Co-authored-by: Ilan Gold <ilanbassgold@gmail.com>
Co-authored-by: Sam Levang <39069044+slevang@users.noreply.github.com>
- Whether missing chunks are filled with the array's fill value on read `array.read_missing_chunks` (default `True`). Set to `False` to raise a [`ChunkNotFoundError`][zarr.errors.ChunkNotFoundError] instead.
34
35
- Async and threading options, e.g. `async.concurrency` and `threading.max_workers`
35
36
- Selections of implementations of codecs, codec pipelines and buffers
0 commit comments