Add optional build_zarr_multiscales step to RasterFlow notebooks#162
Merged
Conversation
|
Found 7 changed notebooks. Review the changes at https://app.gitnotebooks.com/wherobots/wherobots-examples/pull/162 |
rbavery
approved these changes
May 27, 2026
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.
What
Adds an optional, commented-out-by-default step to each RasterFlow solution notebook that produces a raster (Zarr) output, demonstrating how to build an optimized multiscale Zarr for interactive visualization on cloud.wherobots.com/map.
Each notebook gets two new cells inserted right after the cell that produces the output Zarr:
build_zarr_multiscalesdoes (adds downsampled overview pyramids so the map can stream coarse tiles when zoomed out and full-resolution pixels when zoomed in).client.build_zarr_multiscales(source_store=...).The code is commented out so the notebooks run end-to-end unchanged; users opt in by uncommenting.
Notebooks updated (7)
RasterFlow_ChangeDetection.ipynbRasterFlow_Chesapeake.ipynbRasterFlow_FTW.ipynbRasterFlow_CHM.ipynbRasterFlow_Tile2Net.ipynbRasterFlow_Bring_Your_Own_Rasters_NAIP.ipynb(usesclient/mosaic_store)RasterFlow_S2_Mosaic.ipynb(usesmosaic_store; markdown notes the same call works onall_bands_store)The correct client variable (
rf_clientvsclient) and source-store variable (model_output_storevsmosaic_store) is used per notebook.SAM3 notebooks are excluded since they produce vector (GeoParquet) outputs, not rasters.