Release: Baseline vs Future LTM hazard comparison (#79 Part C)#125
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Promotes Part C of issue #79 (#124) from
stagingtomain: 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).