Skip to content

Release: classify NTx35/NTx40/NDD across hazards (#79 Part A)#121

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

Release: classify NTx35/NTx40/NDD across hazards (#79 Part A)#121
Sammyjoseph999 merged 1 commit into
mainfrom
staging

Conversation

@Sammyjoseph999

Copy link
Copy Markdown
Owner

Summary

Promotes Part A of issue #79 (#120) from staging to main.

Classifies NTx35/NTx40 (crop-specific bands) and NDD (generic 15/20/25) in both the single-crop hazards.py (per-season + Baseline LTM) and the NEX-GDDP ensemble Hazard Assessment tables. Adds dry_days_hazard() + NDD_SEVERITY in hazards.py and wires NDD into the ensemble aggregation/printouts.

Min Tmin / Max Tmax remain context values (no severity threshold). Parts B and C of #79 remain open.

#79 Part A) (#120)

Single-crop hazards.py previously classified only precipitation, TAVG,
NDWS, and NDWL0 in its CROP HAZARD ASSESSMENT and BASELINE LTM tables.
The ensemble classified those plus NTx35/NTx40 but not NDD.

- Add dry_days_hazard() + NDD_SEVERITY (15/20/25, generic) in hazards.py.
- hazards.py: classify NTx35/NTx40 (crop-specific) and NDD in both the
  per-season assessment and the Baseline LTM, and print them in both
  the per-season and LTM Hazard Assessment tables.
- ensemble_hazards.py: classify NDD (heat indices were already wired),
  add it to the majority-vote aggregation and both printouts.

Completes Part A of issue #79: every architecture hazard variable that
has a defined threshold now carries a severity status. Min Tmin / Max
Tmax remain context values (shown in stats; no severity threshold).
@Sammyjoseph999
Sammyjoseph999 merged commit 9f2a504 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