Compute a comprehensive set of climdex indices

Share:

Description

This function computes a comprehensive set of indices using the climdex.pcic package.

Usage

1
computeClimdex(myClimdex)

Arguments

myClimdex

A climdexInput object.

Details

This function calls a number of functions for annual and monthly indices from the climdex.pcic package.

The following annual indices are computed, always using the default options of the climdex.pcic package: cdd, cwd, fd, id, r20mm, r99ptot, rx1day, sdii, tn10p, tnn, tr, tx90p, txx, csdi, dtr, gsl, prcptot, r10mm, r95ptot, rnnmm, rx5day, su, tn90p, tnx, tx10p, txn, wsdi.

The following monthly indices are computed, always using the default options of the climdex.pcic package: rx1day, tn10p, tnn, tx90p, txx, dtr, rx5day, tn90p, tnx, tx10p, txn.

Value

A list:

annual.climdex

A zoo object containing a comprehensive set of annual climdex indices.

monthly.climdex

A zoo object containing a comprehensive set of monthly climdex indices.

Author(s)

Boris Orlowsky <boris@climate-babel.org>

References

http://cccma.seos.uvic.ca/ETCCDMI/list_27_indices.shtml

See Also

climdex.pcic-package, zoo-package

Examples

1
2
3
4
5
6
data(potsdam)
date <- as.Date(potsdam$date)
myDataclim <- createDataclim(date=date, tmin=potsdam$tmin, tmax=potsdam$tmax,
                          prec=potsdam$prec, basePeriod=1981:2010)
myClimdex <- createClimdex(myDataclim, basePeriod=1981:2010)
climdexIndices <- computeClimdex(myClimdex)