HW_cluster: Heatwave SpatioTemporal cluster

Description Usage Arguments

View source: R/HW_cluster.R

Description

Heatwave SpatioTemporal cluster

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
HW_cluster(arr, dates, ncell_connect = 16, .parallel = FALSE, TRS = NULL, ...)

HW_cluster_byYear(
  arr,
  ncell_connect = 1L,
  ncell_overlap = ncell_connect,
  factor = 10000,
  diag = FALSE,
  ...
)

Arguments

arr

3d boolean array

ncell_connect

the default is 1deg*1deg

ncell_overlap

a integer. If the share grids of the two clusters in two consecutive layers are no less than the overlap, the two clusters will be taken as the same one.

factor

a integer that is used to recode cluster encoding.

diag

a logical value. If TRUE, the diagonal grids are taken as the adjacent congeneric grids.


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