View source: R/biasCorrection.R
gpqm | R Documentation |
Implementation of Generalized Quantile Mapping method for bias correction
gpqm(o, p, s, precip, pr.threshold, theta)
o |
A vector (e.g. station data) containing the observed climate data for the training period |
p |
A vector containing the simulated climate by the model for the training period. |
s |
A vector containing the simulated climate for the variable used in |
precip |
Logical for precipitation data. If TRUE Adjusts precipitation
frequency in 'x' (prediction) to the observed frequency in 'y'. This is a preprocess to bias correct
precipitation data following Themeßl et al. (2012). To adjust the frequency,
parameter |
pr.threshold |
The minimum value that is considered as a non-zero precipitation. Ignored when
|
theta |
numeric indicating upper threshold (and lower for the left tail of the distributions, if needed) above which precipitation (temperature) values are fitted to a Generalized Pareto Distribution (GPD). Values below this threshold are fitted to a gamma (normal) distribution. By default, 'theta' is the 95th percentile (5th percentile for the left tail). |
S. Herrera and M. Iturbide
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.