OpenResilience Kenya β Water stress and climate resilience monitoring for NGOs and county governments.
# π§ WapiMaji β Water & Drought Intelligence Kenya
> **Wapi Maji?** /wΙΛpi mΙΛdΚi/ β *Kiswahili*: "Where is the water?"
**Water & food stress intelligence for Kenya's 47 counties.**
Built for farmers, NGOs, county governments, and community leaders.
> πΆ **DEMO MODE** β Current data is synthetic. Indices are computed from real formulas against generated inputs. Index methodology is documented and production data adapters are underway.
**β Open the live platform**
---
## What it does
OpenResilience surfaces four stress indices updated per monitoring cycle:
| Index | Measures | Key inputs |
|-------|----------|------------|
| **WSI** β Water Stress | Rainfall deficit + soil dryness | CHIRPS rainfall, SMAP soil moisture |
| **FSI** β Food Stress | Crop production risk | WSI + NDVI vegetation anomaly + field reports |
| **MSI** β Market Stress | Staple food price pressure | Maize price change vs seasonal average |
| **CRI** β Composite Risk | Overall household resilience risk | Weighted combination of WSI/FSI/MSI |
β Full index methodology, weights, and data sources
---
## SMS alerts reach farmers without smartphones
The platform sends **bilingual SMS alerts** (English + Kiswahili) via Africa's Talking to any mobile phone β including basic feature phones with no data plan. County coordinators subscribe farmers; alerts trigger automatically when CRI crosses Watch/Alert/Emergency thresholds.
```
[OpenResilience] Turkana Alert:
Water stress HIGH (WSI 0.74).
Plant sorghum only if rains confirmed.
Nafaka: panda mtama tu ukiwa na uhakika wa mvua.
```
β SMS setup guide Β· β Africa's Talking integration
---
## Architecture
```
app.py β Streamlit UI (farmer + NGO views)
src/openresilience/ β Core scoring, agriculture, export
adapters/ β NASA IMERG, SMAP, Earth Engine connectors
api/ β FastAPI REST layer for programmatic access
notifier/ β SMS/WhatsApp al β¦