# Sen Climate

QGIS plugin to automatically compute spectral and climate indices for any commune or region of Senegal, for a chosen year (2013-present).

## Features
- Select a **commune** or **region** of Senegal, and a **year** — the required Landsat bands are downloaded automatically (Esri Landsat/MS service, no file/API key needed).
- Computes **21 spectral indices**: NDVI, EVI, GNDVI, SAVI, DVI, NDWI (2 variants), MNDWI, NDSI (2 variants), LSWI, NDBI, UI, CVI, TVI, RVI, DPSI, NBR, VARI, ARVI, BSI.
- Computes **brightness temperature**, **land surface temperature (LST)** and the **vegetation health index (VHI)**, using fixed Landsat 8/9 TIRS calibration constants (no MTL file required).
- Rasters are **clipped exactly to the commune/region shape** (not just the bounding rectangle).
- Automatic **color symbology** adapted to each index type (vegetation, water, snow, urban/soil, burn, thermal).
- Displays the selected zone boundary with a styled outline (transparent fill, black dashed 0.26mm border).
- Generates an **exportable text report** interpreting each computed indicator.

## Usage
1. Open the plugin (menu **Raster > Sen Climate**).
2. Choose a commune or region, and a year.
3. Check the indices/products you want.
4. Click **Calculer**.

## Requirements
- Active internet connection (Esri Landsat/MS ImageServer, no API key required).
- GDAL/OGR (bundled with QGIS).
- Geographic coverage: Senegal only (bundled commune/region layer).

## Credits
The thermal algorithms (radiance, brightness temperature, LST) are adapted from the QGIS plugin **RS&GIS** (NITK_RS-GIS_17) by Prathamesh Barane and G S Dwarakish, licensed under GNU GPL v2 or later.
https://github.com/PrathamGitHub/NITK_RS-GIS_17

## License
GPL-3.0-or-later. See [LICENSE](LICENSE).

## Author
ADIOUMA FALL Geo — mouridefalltouba@gmail.com
