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)

Ranked by the topics, categories and workflow stages they share with SPEI (R package).

VIC

Open Source

The Variable Infiltration Capacity model — macroscale land-surface hydrology for big basins and climate studies.

Hydrology & Catchment AnalysisStableSnow HydrologyClimate Projections