How pdasiitism/drywetcast-india works
DryWetCast is an operational five-day DRY/WET probability forecasting pipeline for India. An operator selects a date and model configuration; the CLI obtains GEFS atmospheric fields and AIFS rainfall predictors, plus GEFS or NCMRWF rainfall depending on configuration. Feature extractors prepare ensemble predictors, XGBoost models produce gridded probabilities, and the run can write maps, a machine-readable forecast record, an outlook map, and optional subdistrict products or an accumulating archive. The workflow and module relationships are supported by the README and run_forecast.py references; some implementation details are unsampled.
Main entry points: run_forecast.py Forecast CLI · grid.py Grid utilities · download_gefs.py GEFS download · download_aifs.py AIFS download
Components 21
Run orchestration
- Forecast CLI
run_forecast.py - Readiness checks
pipeline/check.py - Model configurations
pipeline/configs.py - Worker allocation
pipeline/runtime.py
Forecast inputs
- GEFS download
pipeline/download_gefs.py - AIFS download
pipeline/download_aifs.py - NCMRWF download
pipeline/download_ncmrwf.py - GEFS atmosphere
pipeline/gefs_features.py - AIFS rainfall
pipeline/aifs_features.py - NCMRWF rainfall
pipeline/ncmrwf_features.py
Feature and forecast
- Grid utilities
pipeline/grid.py - XGBoost inference
pipeline/inference.py - Trained weights
models
Forecast products
- Gridded probabilities
run_forecast.py - Outlook map
pipeline/outlook.py - Forecast archive
pipeline/archive.py - Subdistrict products
pipeline/subdistrict.py
Other components
- Operator
- NOAA GEFS feed
- ECMWF AIFS feed
- NCMRWF portal
Connections 22
- Operator → Forecast CLI: runs
README.md - Forecast CLI → Readiness checks: checks setup
run_forecast.py - Forecast CLI → Model configurations: selects config
run_forecast.py - Forecast CLI → GEFS download: requests downloads
run_forecast.py - Forecast CLI → AIFS download: requests downloads
run_forecast.py - Forecast CLI → NCMRWF download: requests downloads
run_forecast.py - GEFS download → NOAA GEFS feed: fetches data
README.md - AIFS download → ECMWF AIFS feed: fetches data
README.md - NCMRWF download → NCMRWF portal: fetches data
README.md - Forecast CLI → GEFS atmosphere: extracts predictors
run_forecast.py - Forecast CLI → AIFS rainfall: extracts predictors
run_forecast.py - Forecast CLI → NCMRWF rainfall: extracts predictors
run_forecast.py - GEFS atmosphere → Grid utilities: uses grid
pipeline/grid.py - AIFS rainfall → Grid utilities: uses grid
pipeline/aifs_features.py - NCMRWF rainfall → Grid utilities: regrids fields
pipeline/ncmrwf_features.py - Forecast CLI → XGBoost inference: builds features
run_forecast.py - XGBoost inference → Trained weights: loads weights
README.md - Forecast CLI → Gridded probabilities: produces probabilities
README.md - Forecast CLI → Outlook map: creates outlook
run_forecast.py - Forecast CLI → Forecast archive: saves record
run_forecast.py - Forecast CLI → Subdistrict products: generates optional products
run_forecast.py - Forecast CLI → Worker allocation: sets workers
README.md