Interactive Growing Season (Jun-Sep) Drought Simulation Dashboard for Northwestern Nigeria. Computes MI-CDI, VCI, TCI, VHI, TVDI, SPI, SPEI indices across 186 LGAs using 2001-2023 seasonal baselines.
# Seasonal Drought Simulation Dashboard
An interactive web-based growing season (JuneβSeptember) drought simulation tool for Northwestern Nigeria, covering 186 Local Government Areas (LGAs) across seven states: Sokoto, Zamfara, Katsina, Kano, Jigawa, Kaduna, and Kebbi.
## π Live Dashboard
**Launch the Seasonal Drought Simulator β**
## Overview
This dashboard enables real-time **what-if analysis** of drought conditions using five input parameters:
| Parameter | Symbol | Source |
|-----------|--------|--------|
| Precipitation | P (mm) | CHIRPS Daily |
| Land Surface Temperature | LST (K) | MODIS MOD11A2 |
| Vegetation Index | NDVI | MODIS MOD13A3 |
| Potential Evapotranspiration | PET (mm) | TerraClimate |
| Palmer Drought Severity Index | PDSI | TerraClimate |
## Computed Indices
The simulator calculates **9 drought indices** per LGA:
| Index | Formula | Range |
|-------|---------|-------|
| VCI | 100 Γ (NDVI β min) / (max β min) | 0β100 |
| TCI | 100 Γ (max β LST) / (max β min) | 0β100 |
| VHI | 0.5 Γ VCI + 0.5 Γ TCI | 0β100 |
| TVDI | (LST β min) / (max β min) | 0β1 |
| SPI | (P β mean) / std | Unbounded |
| SPEI | (D β mean) / std, D = P β PET | Unbounded |
| ADI | (d_VHI + d_TVDI) / 2 | 0β1 |
| MDI | (d_SPI + d_SPEI + d_PDSI) / 3 | 0β1 |
| **MI-CDI** | **(ADI + MDI) / 2** | **0β1** |
## Features
- πΊοΈ Interactive Leaflet.js choropleth map with dynamic color scaling
- π Real-time computation of all indices on parameter change
- ποΈ State boundary overlays with dashed LGA boundaries
- π Click-to-zoom on Highest/Lowest MI-CDI cards
- π₯ CSV download of simulation results
- π "All States" view for region-wide analysis
## Baseline Period
Historical baselines are derived from **23 years** of Google Earth Engine data (2001β2023), filtered exclusively to the **June 1 β September 30** growing season window. Baseline statistics (min, max, mean, std) are computed per LGA per parameter.
## Technology Stack
- **Frontend**: HTML5, CSS3, Vanilla JavaScript
- **Mapp β¦