Skip to content

Reproduce the Figures

The default pipeline produces the corrected v2 figures under figures/v2/, with statistics in analysis/v2/. The five current panels follow the manuscript argument: encode the observed pathway, map continuous developmental gradients, add weather as an external layer, test weather conditional on current state, and use matched differences to generate hypotheses. See the v2 technical manuscript for the corrected quantitative interpretation. Use manuscript_figures/00_run_all.py --generation v2; --render-only requires existing corrected statistics. The material below is retained as a historical v1 gallery and reproduction reference, selected with --generation legacy.

The manuscript figures are generated by numbered scripts in manuscript_figures/. Each script reads from the Fire VASE data lake and writes its outputs back into that folder.

Historical V1 Manuscript Figures

These are superseded climate-revision figures, not the current scientific results. The source publication files are tracked under figures/climate_revision_main/ and figures/climate_revision_supplement/; the copies below live under docs/assets/figures/ so the website can display them.

Supplementary Figures

Inputs

Use either a restored repository-style data root or the data-lake package:

data_lake/fire-vase-data-lake-v0.1

The figure scripts expect the lake to contain:

  • scratch/fire_vase_run_full/tables/
  • scratch/fire_vase_developmental_morphology/
  • repository/figures/main/derived_stats/
  • repository/analysis/claim_audit_stats/

Run All Figures

uv run python manuscript_figures/00_run_all.py \
  --data-lake data_lake/fire-vase-data-lake-v0.1

Outputs are written as PDF, PNG, and SVG files in manuscript_figures/.

Run One Figure

uv run python manuscript_figures/03_figure_3.py \
  --data-lake data_lake/fire-vase-data-lake-v0.1

Figure Entry Points

Shared plotting code lives in scripts/figures/.

Recompute Validation Tables

By default, the scripts seed cached derived statistics from the data lake. To recompute those validation tables from the lakehouse inputs:

uv run python manuscript_figures/00_run_all.py \
  --data-lake data_lake/fire-vase-data-lake-v0.1 \
  --force-validation

Check Reproducibility

Compare generated figures and derived statistics against the checked-in reference artifacts:

uv run python scripts/check_reproducibility.py --skip-data-lake

Save a JSON report:

uv run python scripts/check_reproducibility.py \
  --skip-data-lake \
  --json-output analysis/reproducibility_check_latest.json

The checker reports byte-level file hashes and pixel-level PNG comparisons. Pixel identity is the stricter visual check for the manuscript figures.