Skip to content

Remove KOTL vignette — peace-fwcp is the canonical worked example#50

Merged
NewGraphEnvironment merged 1 commit into
mainfrom
49-remove-kotl-vignette
May 1, 2026
Merged

Remove KOTL vignette — peace-fwcp is the canonical worked example#50
NewGraphEnvironment merged 1 commit into
mainfrom
49-remove-kotl-vignette

Conversation

@NewGraphEnvironment
Copy link
Copy Markdown
Owner

Summary

Removes vignettes/climate-departure.Rmd (the KOTL vignette) so pkgdown CI stays fast and the package's worked example stays focused on peace-fwcp, which now demonstrates the full pipeline at a higher fidelity.

peace-fwcp already covers everything KOTL did:

  • Catalog → extract → trends → recent vs pre-warming → spatial map
  • Day-night asymmetry section (the textbook signal does show up in the Peace, opposite to KOTL — that contrast was previously the case for keeping both, but the day-night section in peace-fwcp makes the same scientific point on its own)
  • Plain-language explainers for trend windows / WMO normal / accelerating-vs-slowing warming
  • Per-ecoregion breakdown that doesn't fit a single-watershed example
  • Three-finding interpretation

Keeping KOTL costs ~60 s per pkgdown CI push (it still renders live from S3 — wasn't precomputed in #45) and reintroduces the /vsicurl/ flake surface that #45 intentionally removed for peace-fwcp.

Why now

User-driven decision: "we are showcasing the package well with the 1 vignette currently and the kotl is not as sweet — so functions to distract." The two-vignette state was useful while iterating; one is enough now.

What stays

  • inst/extdata/example_aoi_kotl.gpkg, context_kotl.gpkg, context_kotl_towns.gpkg — the KOTL polygon assets remain in the package because the README quick-start uses them as a small example AOI.
  • data-raw/example_aoi_kotl.R, data-raw/example_context_kotl.R — generators stay so the bundled assets remain reproducible.

Future direction

Captured in #49: once snow-pack variables land (#48), the plan is to either evolve peace-fwcp to absorb the snow story, or re-purpose a single-watershed vignette around snow-fed hydrology. Decision deferred until #48 ships.

Test plan

  • vignettes/climate-departure.Rmd removed
  • README link to climate-departure vignette removed
  • KOTL gpkg assets and data-raw/ generators remain
  • pkgdown CI on this PR builds without trying to render the deleted vignette

Relates to #49
Relates to NewGraphEnvironment/sred-2025-2026#23

🤖 Generated with Claude Code

The peace-fwcp vignette already showcases the full pipeline (regional +
per-ecoregion + day-night asymmetry + interpretation) on a more
interesting AOI. KOTL was the original single-watershed example but
has been superseded; keeping it costs ~60 s of pkgdown CI time per
push and adds /vsicurl/ flake surface that the precompute work in #45
intentionally removed for peace-fwcp.

Underlying KOTL data assets stay in inst/extdata/ — README quick-start
still uses example_aoi_kotl.gpkg as a small AOI demo.

Once snowpack variables land (#48), the plan is to either evolve
peace-fwcp to absorb the snow story or re-purpose a single-watershed
vignette around the snow-fed hydrology narrative. Both options
discussed in #49.

Relates to #49
@NewGraphEnvironment NewGraphEnvironment merged commit 914f737 into main May 1, 2026
1 check passed
@NewGraphEnvironment NewGraphEnvironment deleted the 49-remove-kotl-vignette branch May 1, 2026 17:24
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