QGIS plugin for rainfall extraction, SPI/RAI/PCI indices, and trend analysis in Malawi using CHIRPS data via Google Earth Engine."QGIS plugin for rainfall extraction, SPI/RAI/PCI indices, and trend analysis in Malawi using CHIRPS data via Google Earth Engine.
RAM - Rainfall Analysis Malawi (QGIS plugin)
Rainfall extraction, SPI/RAI/PCI indices, and trend analysis for
Malawi, using CHIRPS Daily precipitation via the Google Earth Engine
Python API.
What it does
Point extraction,pick a point on the map (or type lon/lat),
get a daily/monthly/annual CHIRPS rainfall time series, export to CSV.
AOI / district analysis,load your own boundary (shapefile or
GeoPackage: a district, a watershed, a hand-drawn polygon the
plugin does not bundle a boundary layer, so bring your own), get
zonal statistics (mean/min/max/std/sum) per period, export CSV.
Rainfall raster, straight into QGIS,total or mean rainfall
over the AOI, downloaded synchronously from Earth Engine and added
directly as a layer in the QGIS map canvas no Google Drive step,
no waiting on an export task. Choose native (~5.5 km), 1 km, 500 m,
or 250 m (the last three bicubic-resampled from the native grid,
not a truer observation). A Google Drive export is kept as a
fallback button for AOIs/date-ranges too large for direct download
(roughly >32-50 MB), since that path has no size ceiling.
Climate indices ,SPI (1/3/6/12/24-month), RAI (annual), PCI
(annual), computed from either a CHIRPS extraction or an imported
ground-station monthly CSV, so the two can also be plotted together.
Trend analysis, Mann-Kendall test, Sen's slope, OLS regression,
moving averages, on the annual series.
Install
1. Copy this folder into your QGIS plugins directory:
- Linux: `~/.local/share/QGIS/QGIS3/profiles/default/python/plugins/`
- Windows: `%APPDATA%\QGIS\QGIS3\profiles\default\python\plugins\`
- macOS: `~/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/`
2. Install dependencies into QGIS's own Python (see `requirements.txt`
for the exact commands per OS QGIS plugins run inside QGIS's
bundled interpreter, not your regular system Python).
3. In QGIS: Plugins -> Manage and Install Plugins -> Installed, enable
"RAM - Rainfall Analysis Malawi".
4. You need a Google Ea …