climatology_threshold_exceedence {SeaVal} | R Documentation |
Get climatological prediction for exceedence probabilities.
Description
The climatological prediction for exceedence probabilities is the fraction of observed years where the observation exceeded the threshold. It's calculated from leave-one-year-out climatology.
Usage
climatology_threshold_exceedence(
obs_dt,
o = "prec",
by = setdiff(dimvars(obs_dt), "year"),
thresholds = c(200, 300, 350, 400)
)
Arguments
obs_dt |
Data table containing observations. |
o |
column name of the observation. Mostly observed precipitation in mm. |
by |
By which columns should be grouped? |
thresholds |
vector of thresholds for which the exceedence probabilities should be derived. |
Value
Data table with the climatological probabilities of exceedence for the provided thresholds.
Examples
dt = climatology_threshold_exceedence(chirps_monthly)
[Package SeaVal version 1.2.0 Index]