Skip to content

Release: Actual vs Baseline-LTM hazard anomalies (#79 Part B)#123

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

Release: Actual vs Baseline-LTM hazard anomalies (#79 Part B)#123
Sammyjoseph999 merged 1 commit into
mainfrom
staging

Conversation

@Sammyjoseph999

Copy link
Copy Markdown
Owner

Summary

Promotes Part B of issue #79 (#122) from staging to main: Actual-year vs Baseline-LTM hazard anomalies in hazards.py (anomaly + % change across all 9 hazard metrics, printed as an ANOMALIES table). Part C remains open.

…122)

The architecture calls for an 'Actual year vs LTM season hazards'
comparison. hazards.py produced per-year assessments and a Baseline LTM,
but never diffed them.

Add compute_ltm_anomalies(): for each assessed season, diff its hazard
metrics against the Baseline LTM for the same season slot — anomaly
(actual - LTM) and percent change — across Total Precip, TAVG, Max Tmax,
Min Tmin, NTx35, NTx40, NDD, NDWS, NDWL0. Surface as 'ltm_anomalies' in
the multi-season result and print an ANOMALIES table after the Baseline
LTM block.
@Sammyjoseph999 Sammyjoseph999 merged commit 7511382 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