Free Access Week - Data Engineering + BI
Data Engineering and BI courses are free this week!
Free Access Week - Jun 2-8

CompoundEvents (version 0.3.0)

GetWH: Occurrence of compound wet-hot events

Description

Extract compound wet-hot (WH) occurrences based on thresholds of precipitation and temperature.The binary variable of the WH (or wet-warm,WW) event can be obtained.

Usage

GetWH(mp,mt,threp,thret)

Value

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

Arguments

mp

Precipitation

mt

Temperature

threp

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

thret

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

References

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

Examples

Run this code
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)

Run the code above in your browser using DataLab