Skip to content

Support option to materialize one file per-layer instead of per-item-group#464

Open
favyen2 wants to merge 3 commits intomasterfrom
favyen/20260127-per-layer-materialize
Open

Support option to materialize one file per-layer instead of per-item-group#464
favyen2 wants to merge 3 commits intomasterfrom
favyen/20260127-per-layer-materialize

Conversation

@favyen2
Copy link
Collaborator

@favyen2 favyen2 commented Jan 27, 2026

This adds a new RasterStorage abstraction that is responsible for accessing raster data stored at a window. Window.get_raster_dir is deprecated and instead all raster access should go through RasterStorage. The default RasterStorage, PerItemGroupStorage, is compatible with our existing datasets, while PerLayerStorage can be used to do the one-file-per-layer mode.

Note that completed files will still be created per-item-group; we will need a db-backed WindowMetadata implementation to avoid that.

…group.

This adds a new RasterStorage abstraction that is responsible for accessing raster
data stored at a window. Window.get_raster_dir is deprecated and instead all raster
access should go through RasterStorage. The default RasterStorage, PerItemGroupStorage,
is compatible with our existing datasets, while PerLayerStorage can be used to do the
one-file-per-layer mode.

Note that completed files will still be created per-item-group; we will need a
db-backed WindowMetadata implementation to avoid that.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant