Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

sdii

Simple precipitation intensity index


Description

Sum of precipitation in wet days (days with >1mm of precipitation), and dividing that by the number of wet days in the period.

Usage

sdii(data, data_names = NULL, time.scale = YEAR, na.rm = FALSE)

Arguments

data

daily precipitation, mm

data_names

names of each period of time

time.scale

month, season or year

na.rm

logical. Should missing values (including NaN) be removed?

Value

precipitation, mm

References

Michele Brunetti, Maurizio Maugerib, Teresa Nanni, (2001) Changes in total precipitation, rainy days and extreme events in northeastern Italy, International Journal of Climatology

Examples

data(data_all)
sdii(data = data_all$rr)

ClimInd

Climate Indices

v0.1-3
GPL (>= 3)
Authors
Fergus Reig-Gracia [aut, cre], Sergio M. Vicente-Serrano [aut], Fernando Dominguez-Castro [aut], Joaquin Bedia-Jiménez [ctb]
Initial release
2021-04-09

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.