spei.climdex module

Drought indices based on the Climdex project (http://www.climdex.org/).

spei.climdex.cdd(series: Series, threshold: float = 1.0, period: str = '365D') → Series

Maximum length of dry spell: maximum number of consecutive days with precipitation < 1mm.

spei.climdex.cwd(series: Series, threshold: float = 1.0, period: str = '365D') → Series

Maximum length of wet spell: maximum number of consecutive days with precipitation ≥ 1mm.

spei.climdex.prcptot(series: Series, period: str = '1YE') → Series

Total precipitation on wet days over a certain period.

spei.climdex.r10mm(series: Series, threshold: float = 10.0, period: str = '1YE') → Series

Annual count of days when precipitation ≥ 10 mm.

spei.climdex.r20mm(series: Series, threshold: float = 20.0, period: str = '1YE') → Series

Annual count of days when precipitation ≥ 20 mm.

spei.climdex.r95p(series: Series, quantile: float = 0.95, threshold: float = 1.0, period: str = '1YE') → Series

Total amount of precipitation on very wet days.

spei.climdex.r95ptot(series: Series, quantile: float = 0.95, threshold: float = 1.0, period: str = '1YE') → Series

Contribution to total precipitation from very wet days.

spei.climdex.r99p(series: Series, quantile: float = 0.99, threshold: float = 1.0, period: str = '1YE') → Series

Total amount of precipitation on extremely wet days.

spei.climdex.r99ptot(series: Series, quantile: float = 0.99, threshold: float = 1.0, period: str = '1YE') → Series

Contribution to total precipitation from extremely wet days.

spei.climdex.rnmm(series: Series, threshold: float, period: str = '1YE') → Series

Annual count of days when precipitation ≥ n mm. n is a user-defined threshold.

spei.climdex.rnnp(series: Series, quantile: float, threshold: float = 1.0, period: str = '1YE') → Series

Total amount of precipitation on wet days above certain quantile.

spei.climdex.rx1day(series: Series, interval: str = '1D', period: str = '30D') → Series

Maximum 1-day precipitation amount.

spei.climdex.rx5day(series: Series, interval: str = '5D', period: str = '30D') → Series

Maximum consecutive precipitation amount over an 5-day interval.

spei.climdex.rxnday(series: Series, interval: str, period: str = '30D') → Series

Maximum consecutive precipitation amount over an interval.

spei.climdex.sdii(series: Series, threshold: float = 1.0, period: str = '30D') → Series

Compute Simple precipitation intensity index.