[general]
name=Sen Climate
qgisMinimumVersion=3.16
description=Automatic calculation of spectral and climate indices (NDVI, NDWI, NDBI, LST, brightness temperature, VHI, land cover, etc.) by commune/region, by year and optionally by month in Senegal, with an exportable interpretation report.
version=1.4.1
author=ADIOUMA FALL Geo
email=mouridefalltouba@gmail.com

about=This plugin automatically downloads the required Landsat bands (Esri Landsat/MS service, no file needed) for a chosen commune or region of Senegal, a chosen year (2013-present) and optionally a specific month, computes 19 spectral indices (NDVI, EVI, GNDVI, SAVI, DVI, NDWI, MNDWI, LSWI, NDBI, UI, CVI, TVI, RVI, DPSI, VARI, ARVI, BSI, NDSI) as well as brightness temperature, land surface temperature (LST), the vegetation health index (VHI, optional) and a simplified rule-based land cover classification (water/built-up/bare soil/vegetation), with automatic color symbology and an exportable text interpretation report. The thermal algorithms are adapted from the QGIS plugin RS&GIS (NITK_RS-GIS_17) by Prathamesh Barane and G S Dwarakish, GPL v2-or-later license.

REQUIREMENTS / RESTRICTIONS: this plugin requires an active internet connection (calls to the Esri Landsat/MS ImageServer service, no API key required) and the GDAL/OGR library (bundled with QGIS). Geographic coverage: Senegal only (bundled commune/region layer). Satellite data available from 2013 to present.

changelog=1.4.1 (2026-07-29)
 - Fix: pan-sharpened satellite image (15 m) was saturated to white/255 on most pixels - the raw panchromatic band (unstretched, ~0-10000) was fused directly with the already-stretched 0-255 RGB composite, causing the pan/intensity ratio used by the Brovey algorithm to overflow. The panchromatic band is now stretched to 0-255 (same 2-98th percentile method as the RGB composite) before fusion.
 1.4.0 (2026-07-29)
 - New: optional month selection (in addition to the year) to restrict the Landsat scene search window
 - New: NDSI index re-added on explicit user request (note: mathematically identical formula to MNDWI)
 - New: simplified rule-based land cover classification (Water/Built-up/Bare soil/Sparse vegetation/Dense vegetation), threshold-based on NDVI/MNDWI/NDBI/BSI, categorical symbology
 - New: pan-sharpening option for the satellite image (15 m resolution), using the Esri Landsat/Pan panchromatic service and GDAL weighted-Brovey fusion (gdal:pansharp)
 1.3.0 (2026-07-28)
 - New: MNT/MNE download (Esri World Elevation Terrain3D service, free, no API key), high resolution export (max 2600px)
 - New: Hillshade, computed automatically from the MNT (native:hillshade), can be requested without keeping the MNT itself
 - New: Satellite image (natural color RGB composite), downloaded via dedicated high-resolution bands with cubic resampling for a smoother visual render
 - Report and color symbology extended to the new MNT/MNE and Hillshade products
 1.2.1 (2026-07-28)
 - Security fix: resolved Bandit critical finding (bare try/except/continue) blocking QGIS Hub validation
 - Code quality: fixed flake8 issues (ambiguous variable name, duplicate numpy import)
 - Removed duplicate/near-duplicate indices: NDSI (2 variants, identical formulas to MNDWI/LSWI) and NBR (identical formula to LSWI)
 - Brightness temperature / LST / VHI checkboxes now unchecked by default (only downloaded/computed if explicitly selected)
 - Fix: region boundary (union of communes) no longer shows internal commune limits (unaryUnion + removeInteriorRings instead of iterative combine())
 - Fix: band downloads now run in a background thread so the main window stays responsive (no more Windows "Not Responding" during long downloads)
 1.2.0 (2026-07-28)
 - New logo/icon
 - Rasters now clipped exactly to the commune/region shape (not just the bounding rectangle)
 - Added a styled boundary layer (transparent fill, black dashed outline, 0.26mm)
 - Button to display only the boundary of the selected zone
 - Fix: release locked layers before rewriting (Permission denied error)
 - Window title shows 'downloading...' during processing
 1.1.0 (2026-07-27)
 - Renamed: Sen Indices Satellite -> Sen Climate
 - Removed NDRE (Red Edge band unavailable via Landsat)
 - Added: exportable text interpretation report
 1.0.0 (2026-07-27)
 - Initial version: commune/region/year selection, automatic Landsat download, 21 indices + LST/VHI, automatic symbology

tracker=https://github.com/Ghostline1313/sen_climate/issues
repository=https://github.com/Ghostline1313/sen_climate
homepage=https://github.com/Ghostline1313/sen_climate
tags=landsat,ndvi,ndwi,lst,land surface temperature,vhi,remote sensing,senegal,climate
category=Raster
license=GPL-3.0-or-later
icon=icon.png
experimental=False
deprecated=False
server=False
hasProcessingProvider=no
