Signal pipeline
π‘
IngestβοΈ
FPIπ―
Classifyπ
Alertπ±
WhatsAppServices
REST API
FastAPI + Uvicorn
FPI Model Engine
Physics-based v0.1 + LightGBM slot
Data Ingestion
GPM, SMAP, Copernicus DEM (synthetic fallback)
Alert Dispatch
WhatsApp Business API (dry-run mode)
WebSocket Live
/ws/live push updates
Model Information
Model Version
v0.1
Physics-based FPI
Last Model Run
β
Not yet run
Active Alerts
0
Current model run
Run Interval
6 hours
Scheduled via APScheduler
Data Sources
NASA GPM IMERGRainfall Β· 30-min Β· 0.1Β°
NASA SMAP L3Soil moisture Β· daily Β· 36km
Copernicus DEM GLOElevation Β· 30m Β· static
Sentinel-2 NDVIVegetation change Β· 5-day
NOAA GFS24h/48h rainfall forecast
NDMA SusceptibilityGeological prior Β· static
IMD QPF *Official QPF forecast
* IMD QPF requires a MoU with MoES. NOAA GFS is active as fallback. Forecast window: 24h (vs 48h with IMD).
Security & Architecture
βRate limiting (100/hr public)
βAPI key authentication
βSecurity headers (CSP, XFO)
βCORS validation
βInput sanitization (Pydantic)
βWhatsApp signature validation
βSQL injection protection (ORM)
βNon-root Docker containers