Consecutive wet days index per time period
Source:R/cdo-eca_cwd.R
, R/cdo-etccdi_cwd.R
, R/family-ecacwd.R
ecacwd.Rd
Let infile be a time series of the daily precipitation amount RR, then the largest number of consecutive days where RR is at least R is counted. R is an optional parameter with default R = 1 mm. A further output variable is the number of wet periods of more than N days. Parameter is a comma-separated list of "key=values" pairs.
Usage
cdo_eca_cwd(ifile, R = NULL, N = NULL, freq = NULL, ofile = NULL)
cdo_etccdi_cwd(ifile, R = NULL, N = NULL, freq = NULL, ofile = NULL)
Value
Operators that output one or more files return a character vector to the output files.
Operators that output an indefinite number of files return a string with the basename of the files.
Operatos that don't return filenames return a character vector with the string output.
Details
eca_cwd Consecutive wet days index per time period
The operator counts over the entire time series.
The date information of a timestep in outfile is the date of
the last contributing timestep in infile.
etccdi_cwd Consecutive wet days index per time period
The default output frequency is yearly.
Periods within overlapping years are accounted for the first year.
The date information of a timestep in outfile is the mid of
the frequency interval.