Skip to content

fix(weather): harden diagnostic edge cases#72

Merged
stacknil merged 1 commit into
mainfrom
codex/weather-toolkit-hardening
May 23, 2026
Merged

fix(weather): harden diagnostic edge cases#72
stacknil merged 1 commit into
mainfrom
codex/weather-toolkit-hardening

Conversation

@stacknil
Copy link
Copy Markdown
Owner

Summary

  • Harden edge-case handling in the weather diagnostics toolkit.
  • Add explicit validation for ensemble member values, missing regional reductions, non-finite model inputs, empty metric inputs, and mismatched advection fields.
  • Add ruff to the scoped weather-toolkit CI workflow.
  • Document the missing-data and ensemble-spread behavior.

Validation

  • python -m ruff check .
  • python -m pytest -> 16 passed
  • python -m compileall src scripts
  • CLI help smoke checks for run_thermodynamic_check.py, run_dynamics_summary.py, and run_synthetic_ensemble.py

Privacy and Data Boundary

  • Candidate-file scan returned 0 restricted artifact files and 0 text privacy matches.
  • No raw weather datasets, course documents, compressed archives, binary generated artifacts, or local-machine materials are included.

@stacknil stacknil merged commit 8171fcd into main May 23, 2026
2 checks passed
@stacknil stacknil deleted the codex/weather-toolkit-hardening branch May 23, 2026 09:59
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