Skip to content

Release: Baseline vs Future LTM hazard comparison (#79 Part C)#125

Merged
Sammyjoseph999 merged 1 commit into
mainfrom
staging
Jun 15, 2026
Merged

Release: Baseline vs Future LTM hazard comparison (#79 Part C)#125
Sammyjoseph999 merged 1 commit into
mainfrom
staging

Conversation

@Sammyjoseph999

Copy link
Copy Markdown
Owner

Summary

Promotes Part C of issue #79 (#124) from staging to main: Baseline-LTM vs Future-LTM crop-hazard comparison in ensemble_hazards.py (optional --baseline-source/--baseline-start/--baseline-end), reporting per-metric change/% and per-indicator status transitions. Completes issue #79 (Parts A, B, C + the value_mm crash fix).

Adds the architecture's Baseline-LTM-vs-Future-LTM season-hazard
comparison for the full crop-hazard set (vs the existing
ensemble_periods.py, which compares climate statistics only).

New optional CLI flags on ensemble_hazards: --baseline-source
(era_5/agera_5/chirps+chirts), --baseline-start, --baseline-end. When
given, it runs calculate_hazards for the observed baseline, collapses it
to an overall LTM, and diffs it against the future ensemble overall mean
across Total Precip, TAVG, Max Tmax, Min Tmin, NTx35, NTx40, NDD, NDWS,
NDWL0 — reporting change, % change, and per-indicator status transitions
(both sides classified with the same crop-specific logic). Surfaced as
'baseline_future_ltm_comparison' in JSON and printed as a table.
@Sammyjoseph999 Sammyjoseph999 merged commit d801ab0 into main Jun 15, 2026
1 check passed
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