HW_3con: HWs of Three conditions

Description Usage Arguments Details

View source: R/HW_index_3con.R

Description

HWs of Three conditions

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
HW_3con(
  x,
  p_high = 0.975,
  p_low = 0.81,
  mink = 3,
  TRS_high = NULL,
  TRS_low = NULL,
  date = NULL,
  p1 = 1961,
  p2 = 1990,
  method = c("dt", "map"),
  diff = FALSE,
  ...
)

HW_3con_rcpp(
  x,
  p_high = 0.975,
  p_low = 0.81,
  mink = 3,
  TRS_high = NULL,
  TRS_low = NULL,
  date = NULL,
  p1 = 1961,
  p2 = 1990,
  ...
)

HW_3con_array(arr, ..., use.cpp = TRUE)

Arguments

date

if NULL, interval will not use

...

other parameters to HW_3con()

arr

3d array, with the dimension of [nlon, nlat, ntime]

Details

T1 = quantile(x, p_high), T2 = quantile(x, p_low).

HWs need to satisfy the following three conditions simultaneously:

  1. Everyday > T2;

  2. 3+ consecutive days > T1;

  3. Avg Tmax > T1 for whole period


CUG-hydro/heatwave documentation built on Dec. 17, 2021, 1:53 p.m.