sdii: Simple precipitation intensity index

Description Usage Arguments Value References Examples

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

1
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

1
2

Example output

Loading required package: SPEI
Loading required package: lmomco
Loading required package: parallel
Loading required package: ggplot2
# Package SPEI (1.7) loaded [try SPEINews()].
Loading required package: chron
Loading required package: weathermetrics
    2050     2051     2052     2053     2054     2055     2056     2057 
      NA       NA       NA       NA       NA       NA       NA       NA 
    2058     2059     2060     2061     2062     2063     2064     2065 
      NA       NA       NA       NA       NA       NA       NA       NA 
    2066     2067     2068     1969     1970     1971     1972     1973 
      NA       NA       NA       NA       NA       NA       NA       NA 
    1974     1975     1976     1977     1978     1979     1980     1981 
      NA       NA       NA       NA       NA       NA 4.963782 4.393501 
    1982     1983     1984     1985     1986     1987     1988     1989 
4.783451 5.036052 4.394512 3.825993 4.706221 4.661224 5.659744 4.966029 
    1990     1991     1992     1993     1994     1995     1996     1997 
3.626057 4.231459 4.487607 4.015820 4.591160 4.273253 5.366569 4.950891 
    1998     1999     2000     2001     2002     2003     2004     2005 
4.699936 4.560932 4.100622 3.945713 5.323352 5.032613 4.373650 4.121704 
    2006     2007     2008     2009     2010     2011     2012     2013 
4.062828 5.143379 5.611012 4.147218 4.568028 4.468360 4.794698 4.745314 
    2014     2015     2016     2017 
4.437692 5.114008 4.650427 4.214315 

ClimInd documentation built on April 10, 2021, 1:06 a.m.