indicesWT: Calculation of Weather types (WT) circulation indices from...

View source: R/indicesWT.R

indicesWTR Documentation

Calculation of Weather types (WT) circulation indices from grid.

Description

Calculate circulation indices of grids or multimember grids.

Usage

indicesWT(grid, cluster.type, centers = NULL, base = NULL, ref = NULL)

Arguments

grid

A grid (gridded or station dataset), or multimember grid object.

cluster.type

Weather type clustering method. See details.

centers

Integer value indicating the number of clusters, k, or center points. See details.

base

Baseline grid to be substracted for the calculation of anomalies. Default: NULL. See ?scaleGrid.

ref

Reference grid to be added for the calculation of anomalies. Default: NULL. See ?scaleGrid.

Details

The clustering parameters for weather typing are internally passed to clusterGrid. The function calculates the weather types from the season especified as a whole.

Value

The WT circulation indices (and members, if applicable) with:

  • index: vector with the corresponding cluster from each point of the series.

  • pattern: Array with the spatial pattern of the clusters obtained.

  • dates and coordinates.

  • further arguments related to the WT indices, such as the corresponding cluster type, number of clusters, etc.

Examples

## Not run: 
data(NCEP_slp_2001_2010)
wt <- indicesWT(grid=NCEP_slp_2001_2010, cluster.type="kmeans", centers = 3)

## End(Not run)

SantanderMetGroup/climate4R.indices documentation built on July 3, 2023, 11:02 p.m.