Repository navigation
[WIP] Shard 30m icechunk base and write multiscale overviews in-store - #401
Closed
norlandrhagen wants to merge 1 commit into
Closed
norlandrhagen wants to merge 1 commit into
norlandrhagen wants to merge 1 commit into
Conversation
- Template writes base to group '0' with region-sized shards (6000x4500), 375x375 inner chunks and geozarr attrs - Region inserts target group '0' - create-pyramid appends topozarr overview levels 1..N to the same icechunk store - Bump topozarr>=0.2.0, icechunk>=2.3.0, xarray>=2026.9.0, zarr>=3.2.1
norlandrhagen
marked this pull request as draft
October 15, 2026 18:17
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.
Summary
IcechunkConfig.create_templatewrites the 30m base to group0: shards(6000, 4500)(one per processing region), inner chunks(375, 375)(~550 KB, good for viz), geozarr attrs viatopozarr.attach_geozarr_metadata.insert_region_uncooperativewrites togroup='0'. One region = one shard, so concurrent writers never share a key.create-pyramidnow opens group0and appends topozarr overview levels 1..N to the same icechunk store (mode='a'), replacing the separatepyramid.zarr. All 8 vars get overviews.topozarr>=0.2.0,icechunk>=2.3.0,<3,xarray>=2026.9.0,zarr>=3.2.1,<4.Notes
PyramidConfig/pyramid.zarrare left in place but no longer written; delete once the frontend points at the icechunk store.group="0"for the 30m base. v1.1.0 stays root-layout, so docs are unchanged.metadata_dictattrs now land on group0, not the root.process-regionaftercreate-pyramidleaves levels 1..N stale; re-runcreate-pyramid.Testing
pixi run pytest tests/test_config.py -k "template or icechunk": 15 passed (asserts regular 6000x4500 regions, shards, chunks,proj:codeon group0).pixi run pytest tests/test_datasets.py tests/test_pipeline_snapshots.py: 19 passed, 2 xfailed, 5 snapshots passed.create_pyramidtwice produce groups0,1,2, root multiscales attrs and correct overview means.