Skip to content

Vignettes

Run a complete analysis: Context → Question → Source → Pipe → Figure → Interpretation → Evidence. Each vignette treats the pipe as an executable scientific statement and makes its assumptions and boundaries visible. For a short introduction to the grammar, start with Learn.

Executable real-data notebooks

These eight notebooks use the same reviewed PRISM extract. Each tells a scientific story and includes working code, figures, Data used, Reproduce and See also sections. Read the shared structure.

Keep the analytical sentence short

result = (
    pipe(cube)
    | v.anomaly(dim="time")
    | v.mean(dim=("y", "x"), keep_dim=False)
).unwrap()

Put source acquisition and preparation before the pipe. Explain the baseline and interpretation after it. Remember that the semantic trace covers the pipe, not that preparation or later work. See anomaly and mean for their canonical argument reference.

Explore a noun

Three different objects, the same grammar. Each lesson uses frozen real source data, explains the baseline and limitations, and produces three inline figures.

References: elevation · roads · streamflow.

Other analyses and educational material

Collection What to expect
Working Lands Executed notebook: observed hot-and-dry weather in South Dakota
South Dakota Decision Lab One executable analysis; other questions are labeled dependency designs
Research workflows Domain workflow directories and analysis reports
Fire VASE Observed FIRED/gridMET examples and explicit renderer limitations
Synchrony Methods and project vocabulary; not a second core grammar
Recipes Task-oriented live-data code; provider access may be required
Examples and how-tos Additional source and workflow guidance

Reproduce

From the repository root:

python -m pip install -e ".[vignettes]"
python scripts/run_vignettes.py

The runner executes clean copies of all twelve supported notebooks, verifies static plots, and leaves source notebooks unchanged. MkDocs renders the same code and figures on the site. Validation records the real-data checks; live-data recipes are not covered by the offline claim.