Skip to content

docs: embed input/output map preview at top of RasterFlow model notebooks#160

Draft
pdarringer wants to merge 1 commit into
mainfrom
phil-notebooks-add-viz
Draft

docs: embed input/output map preview at top of RasterFlow model notebooks#160
pdarringer wants to merge 1 commit into
mainfrom
phil-notebooks-add-viz

Conversation

@pdarringer
Copy link
Copy Markdown
Contributor

Summary

Adds a "Preview: model inputs and outputs" markdown cell to the top of each RasterFlow ML model notebook (after the model description, before AOI selection) so readers get an immediate, interactive sense of what the model does and how well it performs before touching any code.

Each cell contains:

  • A short explanation of what the embedded map shows
  • A bulleted list of the layers in the map and what they represent
  • A fullscreen-fallback link
  • An <iframe> embedding a pre-built cloud.wherobots.com/map URL

The iframe attributes (width=100%, height=640, rounded border, loading=lazy, allowfullscreen, etc.) follow the pattern from the 3 most recent posts in wherobots-notebook-blogs.

Files changed

  • Analyzing_Data/RasterFlow_FTW.ipynb — planting + harvest mosaics, model output raster, vector geometries, PMTiles
  • Analyzing_Data/RasterFlow_SAM3.ipynb — input mosaic, vector geometries, PMTiles (no raster output — SAM3 is a geometry inference model)
  • Analyzing_Data/RasterFlow_Tile2Net.ipynb — input mosaic, model output raster, vector geometries, PMTiles
  • Analyzing_Data/RasterFlow_Chesapeake.ipynb — input mosaic, model output raster, vector geometries, PMTiles
  • Analyzing_Data/RasterFlow_CHM.ipynb — input mosaic, model output raster (no vectors — CHM is a regression model)

Notes

  • Layer descriptions are first drafts derived from each notebook's existing model description and the URL l*.name parameters. They may need refinement.
  • All 5 URLs use cloud.wherobots.com/map (not viz.wherobots.com). The fullscreen-fallback link covers the case where a host blocks iframe embedding via CSP.
  • For FTW, the vis=0 params on layers 0/2/3/4 were stripped from the supplied URL so all five layers are visible by default.

Test plan

  • Open each modified .ipynb in JupyterLab / VS Code and confirm the new cell renders the iframe map and the fullscreen-fallback link
  • Click the fullscreen-fallback link in each notebook to confirm the URL loads correctly in a separate tab
  • Verify layer descriptions match the actual layers in the embedded map and read clearly to a first-time reader

🤖 Generated with Claude Code

…ooks

Adds a "Preview: model inputs and outputs" markdown cell to each of the
RasterFlow ML model notebooks (FTW, SAM3, Tile2Net, ChesapeakeRSC, CHM).
The cell is inserted after the model description and before the AOI
selection section, so readers get an immediate, interactive sense of
what the model does and how well it performs before touching code.

Each cell embeds a pre-built cloud.wherobots.com/map iframe with the
input imagery, raster model outputs, and (where applicable) vector
geometries and PMTiles, plus a fullscreen-fallback link.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@gitnotebooks
Copy link
Copy Markdown

gitnotebooks Bot commented May 7, 2026

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

@notion-workspace
Copy link
Copy Markdown

@notion-workspace
Copy link
Copy Markdown

Updated sample notebooks

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.

1 participant