GetWH: Occurrence of compound wet-hot events

Description Usage Arguments Value References Examples

View source: R/GetWH.R

Description

Take the precipitation and temperature and extract wet-hot occurrence based on thresholds.The binary variable of the wet and warm (WW) event can be otained.

Usage

1
GetWH(mp,mt,threp,thret)

Arguments

mp

Precipitation

mt

Temperature

threp

Threshold of precipitation (e.g., 80th percentile)

thret

Threshold of temperature (e.g., 80th percentile)

Value

The occurrence of compound wet-hot event (0-1 binary variable)

References

Hao, Z. et al (2013). Changes in concurrent monthly precipitation and temperature extremes.Environ. Res. Lett., 8(3): 034014.

Examples

1
2
3
4
5
mp=matrix(rnorm(120,0,1),ncol=1)
mt=matrix(rnorm(120,0,1),ncol=1)
threp=80
thret=80
WH<-GetWH(mp,mt,threp,thret)

CompoundEvents documentation built on Dec. 1, 2019, 3 p.m.