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 …