Real-time forest fire detection & early warning system for Algeria. Multi-sensor satellite fusion, AI smoke verification, Telegram alerts, and interactive Streamlit dashboard.
# Algeria Forest Fire Detection Platform 🇩🇿🔥
A real-time forest fire early warning system for Algeria, powered by NASA satellite data, AI-driven smoke verification, and automated Telegram alerts. Built for **zero-budget deployability** using entirely open data sources.
## 🌍 Overview
Algeria suffers devastating forest fires every summer, particularly across the Tell Atlas mountain range (Tizi Ouzou, Béjaïa, Jijel, Skikda). This platform provides **autonomous fire detection and alerting** by:
1. **Ingesting** active fire hotspots from **3 NASA VIIRS satellites** (SNPP, NOAA-20, NOAA-21) via FIRMS API
2. **Clustering** spatially proximate detections using DBSCAN to group hotspots into discrete fire events
3. **Verifying** each cluster against **Copernicus Sentinel-2** optical imagery with a computer-vision smoke detector
4. **Enriching** with live weather data (temperature, humidity, wind, drought index) from Open-Meteo
5. **Scoring** each fire with a weighted composite confidence metric (0–100)
6. **Alerting** via Telegram with annotated satellite imagery, weather context, and Sirocco wind warnings
7. **Visualizing** on a real-time Streamlit dashboard with interactive Leaflet maps
## 🏗️ Architecture
```
┌────────────────────────────────────────────────────────────────┐
│ GitHub Actions Cron (30 min) │
│ or Local Pipeline Run │
└───────────────────────────┬────────────────────────────────────┘
│
┌───────────▼───────────┐
│ pipeline.py │
│ (Orchestrator) │
└───────────┬───────────┘
│
┌───────────────────┼───────────────────┐
│ │ │
┌─────▼─────┐ ┌──────▼──────┐ ┌──────▼──────┐
│ FIRMS API │ │ Copernicus │ │ Open-Meteo │
│ (3 Sats) │ │ Sentinel-2 │ │ Weather API │
└─────┬──────┘ └──────┬──────┘ └──────┬──────┘
│ │ │
└───────────────────┼───────────────────┘
│
┌ …