Skip to content

define a module for chunk grids, and a registry#3735

Open
d-v-b wants to merge 2 commits intozarr-developers:mainfrom
d-v-b:chore/chunk-grids-module
Open

define a module for chunk grids, and a registry#3735
d-v-b wants to merge 2 commits intozarr-developers:mainfrom
d-v-b:chore/chunk-grids-module

Conversation

@d-v-b
Copy link
Contributor

@d-v-b d-v-b commented Mar 1, 2026

This PR creates a modular structure for our chunk grids. Currently we only have the regular chunk grid, but we will get rectilinear chunks soon, and this layout will make that addition much easier.

This PR also adds an explicit registry for chunk grids. Previously we handled chunk grid class lookup in the ChunkGrid.from_dict method. A registry is better, and consistent with the rest of the codebase.

Since this is a purely internal change, I don't think we need release notes.

@github-actions github-actions bot added the needs release notes Automatically applied to PRs which haven't added release notes label Mar 1, 2026
@d-v-b d-v-b requested a review from maxrjones March 1, 2026 16:18
@d-v-b
Copy link
Contributor Author

d-v-b commented Mar 1, 2026

closes #3734, and supports #3534

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

Labels

needs release notes Automatically applied to PRs which haven't added release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant