climdex.cd: Compound Indices

View source: R/indices.R

climdex.cdR Documentation

Compound Indices

Description

This function takes a climdexInput object as input and computes the climdex index CD: the number of days where TG<25 & RR<25 (for wet days: days where precipitation is at least 1mm). Note: this function doesnt use directly tavg but derives it from tmax & tmin (concistent with .ncdf)

Usage

climdex.cd(ci, freq = c("monthly", "annual", "halfyear", "seasonal"),
  precip.thresh = "q25", precip.op = "<", temp.thresh = "q25",
  temp.op = "<")

Arguments

ci

Object of type climdexInput (representing the daily precipitation [mm] and the averaged daily temperature [C])

Details

Cold-dry days

This function computes the climdex index CD.

Value

A vector containing an annual timeseries of precipitation in wet days.


ECA-D/climind documentation built on Nov. 26, 2022, 10:20 a.m.