Delta Hydro

SPEI (R package)

Stable

The reference R implementation of SPEI and SPI from the index's own authors.

Pricing
Open Source
License
GPL-2+
Commercial use
Permitted
Ecosystem
R
Platform
Windows, macOS, Linux

Install

install.packages("SPEI")

About SPEI (R package)

The SPEI package is maintained by Santiago Beguería — co-author of the Standardised Precipitation-Evapotranspiration Index itself — making it the closest thing to a canonical implementation. It computes SPEI and SPI at any timescale, with the PET routines (Thornthwaite, Hargreaves, Penman-Monteith) the index depends on, and kernel-weighting and distribution options documented against the original papers.

For drought analyses that will be reviewed, "computed with the authors' own package" is a satisfying provenance line. Simple API, stable on CRAN, widely cited.

Where it fits in the workflow

TerrainCatchmentRainfallRunoffRoutingHydraulicsMappingReporting

Alternatives to SPEI (R package)

Other climate & change analysis tools covering similar workflow stages.

NEOPRENE

Open Source

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

Climate & Change AnalysisActiveRainfall DataDesign Storms

SWMM-CAT

Gov-Public

EPA's Climate Adjustment Tool for SWMM — apply downscaled climate projections to rainfall and evaporation inputs.

Climate & Change AnalysisStableClimate ProjectionsSWMM

Programmatic access to ERA5 and the Copernicus Climate Data Store — the world's reanalysis workhorse.

Climate & Change AnalysisActiveClimate ProjectionsRainfall Data

climate_indices

Open Source

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

Climate & Change AnalysisStableDrought AnalysisPython Hydrology

downscaleR

Open Source

Statistical downscaling and bias correction of climate projections in R — part of the climate4R framework.

Climate & Change AnalysisStableClimate ProjectionsR Hydrology

xclim

Open Source

Climate indices and bias adjustment on xarray — the operational-grade library for climate-data engineering.

Climate & Change AnalysisActiveClimate ProjectionsDrought Analysis