Delta Hydro

climate_indices

Stable

Reference Python implementations of SPI, SPEI and Palmer indices for drought monitoring.

Pricing
Open Source
License
BSD-3-Clause
Commercial use
Permitted
Ecosystem
Python, xarray
Platform
Windows, macOS, Linux

Install

pip install climate-indices

About climate_indices

The climate_indices package provides carefully validated Python implementations of the standard drought indices — SPI and SPEI (with proper distribution fitting), PET methods, PNP and the Palmer suite — designed for both single-station series and gridded NetCDF processing from the command line.

Drought indices are easy to implement subtly wrongly (fitting, calibration periods, zero-precipitation handling); this package exists so agencies and researchers converge on defensible numbers. It has been used in NOAA and NIDIS-adjacent monitoring contexts, which is exactly the pedigree a compliance-facing drought study wants.

Where it fits in the workflow

TerrainCatchmentRainfallRunoffRoutingHydraulicsMappingReporting

Alternatives to climate_indices

Ranked by the topics, categories and workflow stages they share with climate_indices.

NEOPRENE

Open Source

Neyman-Scott stochastic rainfall generation in Python — synthetic series and disaggregation, single or multi-site.

Climate & Change AnalysisActiveRainfall DataDesign Storms