Skip to content

Replace APA sample by Cumbre Vieja sample#59

Draft
j08lue wants to merge 3 commits into
mainfrom
feat/sample-cumbre-vieja
Draft

Replace APA sample by Cumbre Vieja sample#59
j08lue wants to merge 3 commits into
mainfrom
feat/sample-cumbre-vieja

Conversation

@j08lue

@j08lue j08lue commented Feb 21, 2026

Copy link
Copy Markdown
Member

Add a Sentinel-2 L2A sample that following the narrative about the Cumbre Vieja eruption in 2021 https://explorer.eopf.copernicus.eu/story/?id=lava-flow

Closes #21

  • Added STAC query configuration
  • Added SWIR algorithm
  • Got algorithm to work
  • Added thumbnail

@j08lue

j08lue commented Feb 23, 2026

Copy link
Copy Markdown
Member Author

@AliceR, if you have time, could you please help me debug / finish this?

Use the reduced datacube with the bands dimension in the SWIR algorithm
and register the PNG result via add_graph_to_map so it renders correctly
in the map panel.

Also update Cumbre Vieja sample wording and comments for consistency,
including the corrected bounding-box location note.
@AliceR

AliceR commented Feb 24, 2026

Copy link
Copy Markdown
Member

Hi @j08lue ! I pushed some changes (see 25571a3) – could you please run it locally and verify the layer looks like you expect it to?
We need to use the custom add_graph_to_map function for the layer to be added to the map. We should definitely make this more intuitive for users though!

Add test/integration/support/scenes.ts with centralized scene IDs
(ADRIATIC, CUMBRE_VIEJA, NDCI) and a gotoSceneOrFail() helper that
validates scene availability on the landing page before navigation,
failing with a clear, actionable error listing available scenes if
the requested id does not exist.

Update navigation.spec.ts and persistence.spec.ts to:
- Use shared SCENE_IDS constants and sceneEditorPath() helper
- Replace hardcoded removed sentinel-2-apa with sentinel-2-cumbre-vieja
- Remove silent-pass patterns in favor of explicit assertions
- Update scene title assertions to match Cumbre Vieja copy (SWIR/lava)
- Detect missing scene ids at test time instead of failing tests with
unhelpful errors
@AliceR
AliceR force-pushed the feat/sample-cumbre-vieja branch from aa85613 to fee9adb Compare February 24, 2026 14:27
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.

Define more Sentinel-2 samples

2 participants