GetDH: Occurrence of compound dry-hot events

View source: R/GetDH.R

GetDHR Documentation

Occurrence of compound dry-hot events

Description

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

Usage

GetDH(mp,mt,threp,thret)

Arguments

mp

Precipitation

mt

Temperature

threp

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

thret

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

Value

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

References

Hao, Z. et al. (2018). A multivariate approach for statistical assessments of compound extremes. J. Hydrol., 565: 87-94.

Hao, Z. et al. (2019). A monitoring and prediction system for compound dry and hot events. Environ. Res. Lett., 14:114034.

Examples

mp=matrix(rnorm(20,0,1),ncol=1) # 20-year precipitation of a specific month (e.g., August)
mt=matrix(rnorm(20,0,1),ncol=1) # 20-year temperature of a specific month (e.g., August)
threp=20
thret=80
DH<-GetDH(mp,mt,threp,thret)

CompoundEvents documentation built on Nov. 10, 2022, 5:45 p.m.