Skip to content

Add optional build_zarr_multiscales step to RasterFlow notebooks#162

Merged
rbavery merged 1 commit into
mainfrom
phil-rasterflow-optional-multiscales
May 27, 2026
Merged

Add optional build_zarr_multiscales step to RasterFlow notebooks#162
rbavery merged 1 commit into
mainfrom
phil-rasterflow-optional-multiscales

Conversation

@pdarringer
Copy link
Copy Markdown
Contributor

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:

  1. A short markdown description of what build_zarr_multiscales does (adds downsampled overview pyramids so the map can stream coarse tiles when zoomed out and full-resolution pixels when zoomed in).
  2. A commented-out code cell calling 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.ipynb
  • RasterFlow_Chesapeake.ipynb
  • RasterFlow_FTW.ipynb
  • RasterFlow_CHM.ipynb
  • RasterFlow_Tile2Net.ipynb
  • RasterFlow_Bring_Your_Own_Rasters_NAIP.ipynb (uses client / mosaic_store)
  • RasterFlow_S2_Mosaic.ipynb (uses mosaic_store; markdown notes the same call works on all_bands_store)

The correct client variable (rf_client vs client) and source-store variable (model_output_store vs mosaic_store) is used per notebook.

SAM3 notebooks are excluded since they produce vector (GeoParquet) outputs, not rasters.

@gitnotebooks
Copy link
Copy Markdown

gitnotebooks Bot commented May 27, 2026

Found 7 changed notebooks. Review the changes at https://app.gitnotebooks.com/wherobots/wherobots-examples/pull/162

@pdarringer pdarringer changed the title Add optional build_zarr_multiscales visualization step to RasterFlow notebooks Add optional build_zarr_multiscales step to RasterFlow notebooks May 27, 2026
@pdarringer pdarringer marked this pull request as ready for review May 27, 2026 15:46
@pdarringer pdarringer requested review from kadolor and rbavery May 27, 2026 15:48
@rbavery rbavery merged commit 1080ac8 into main May 27, 2026
4 checks passed
@rbavery rbavery deleted the phil-rasterflow-optional-multiscales branch May 27, 2026 16:50
@notion-workspace
Copy link
Copy Markdown

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants