Repository navigation
Rectilinear chunks page: regular and rectilinear Zarr chunk grids - #56
Merged
Merged
Conversation
…endars and mosaics (work in progress) Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JdBGEquUX7MZTcYUPgYkjD
…chunked inside, about text and sources Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JdBGEquUX7MZTcYUPgYkjD
mdsumner
marked this pull request as ready for review
October 20, 2026 11:15
Member
Author
|
@copilot resolve the merge conflicts in this pull request |
…p both nav links Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JdBGEquUX7MZTcYUPgYkjD
Member
Author
|
Resolved the conflicts by merging main (the H3 hexagons page) in 53f6e3a. Every page's nav now has both the H3 and the Rectilinear chunks links, Generated by Claude Code |
Copilot stopped work on behalf of
mdsumner due to an error
October 20, 2026 11:18
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Michael · project thread
Before: playproj reads Zarr chunk layouts on "Tiles and overviews" but has nothing on variable-size (rectilinear) chunk grids, and no page explains when a regular grid stops fitting.
After: a new "Rectilinear chunks" page in the cells group, right after "Tiles and overviews", draws an array cut into chunks in 3D, with the cuts along its first axis in 2D, for a regular grid and a rectilinear one (the zarr-extensions
rectilinearchunk grid, after ZEP0003). It covers seven cases:A draggable read shows the chunks it touches and the values decoded against those wanted, for both grids. You can paste a zarr.json or read one from a URL to draw its grid. The about text covers the spec status and the libraries that support it, and states that a single TIFF or netCDF/HDF5 file only ever has a regular block grid.
How:
src/core/chunkgrid.jshandles axes as lists of edge lengths whose sum may exceed the shape, run-length expand and compress, lookup by binary search of offsets, read cost, zarr.jsonchunk_gridin both directions, calendars, and the mosaic edge grid. It is checked intest/check-chunkgrid.mjs(including the extension's own README example) and is added tonpm testandsrc/core/index.js. The nav link is added on every page, and the README has a section and layout lines. The sourced research notes live outside the repo, in the project's files.Generated by Claude Code