climatekit: Unified Climate Indices for Temperature, Precipitation, and Drought
Source:R/climatekit-package.R
climatekit-package.RdCompute the standard suite of climate indices from daily weather observations. Provides the canonical 'ETCCDI' 27 (Expert Team on Climate Change Detection and Indices), the 'ET-SCI' heatwave and cold-wave families plus the Excess Heat Factor of Nairn and Fawcett (2013), and agroclimatic, drought, and human-comfort families. Drought indices ('SPI', 'SPEI') accept a choice of distribution (gamma or Pearson III for SPI; log-logistic or generalised extreme value for SPEI). Reference evapotranspiration is available via Hargreaves and the FAO-56 Penman-Monteith method (Allen et al. 1998). Percentile-based indices support the Zhang (2005) in-base bootstrap. Daily inputs are numeric vectors plus a 'Date' vector; outputs are tidy data frames. Optional gridded support via 'terra' applies any index over a 'SpatRaster' and reads 'netCDF' input. No external API calls; pairs with data packages such as 'readnoaa'. References: Alexander et al. (2006) doi:10.1029/2005JD006290 ; Zhang et al. (2011) doi:10.1002/wcc.147 ; Zhang et al. (2005) doi:10.1175/JCLI3366.1 .
Author
Maintainer: Charles Coverdale charlesfcoverdale@gmail.com