Description Usage Arguments Value Author(s) Examples
View source: R/qm.empqm.bulk.R
qm.empqm.bulk
is the actual QM function for the bulk
series. Equivalent to function qm.empqm.doy but for the bulk series,
i.e. disregarding a day-of-year (DOY) dependence of the correction function,
and without frequency adaptation.
1 2 | qm.empqm.bulk(series, cdf.mod.bulk, cor.fun.bulk, method = c("linear",
"bin"), var, output.diag = FALSE, minq, maxq, incq)
|
series |
Time series of modelled data, e.g. transient (control+) scenario series. |
cdf.mod.bulk |
CDF of the modelled time series in the calibration period, estimated with function qm.cdf.bulk (vector[nquantiles]). |
method |
QM method: "binary" -> correction for closest quantile is used, "linear" -> linear interpolation of correction function between lower and upper quantile. |
var |
Variable to correct. |
output.diag |
Diagnostic QM console output (TRUE) or not (FALSE); default: FALSE. |
minq |
Minimum quantile for correction function [0.01 .. 0.99]; note: should not be 0 (for correct handling of extremes)! |
maxq |
Maximum quantile for correction function [0.01 .. 0.99]; note: should not be 1 (for correct handling of extremes)! |
incq |
Quantile increment for correction function (bin size). |
corr.fun.bulk |
Additive correction function (cdf A - cdf B), obtained by function qm.corfun.bulk. |
List of 3: $qm.input.series: Input series to QM (input argument series). $qm.corrected.series: Corrected series. $quantile.index: A series of quantile indices wrt. simulated series in calibration period.
Sven Kotlarski (MeteoSwiss), Jan Rajczak (ETH Zurich)
1 2 3 4 5 6 | ## Not run:
# Carry out bulk QM without frequency adaptation. Standard quantiles.
# Variable: precipitation. Linear QM, diagnostic terminal output.
qm.empqm.bulk(series, cdf.modelled.bulk, correction.function.bulk, 'linear', 'pr', TRUE, 0.01, 0.00, 0.01)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.