Low-level function to perform bias correction.
correction_series(obs, mod, proj = NULL, method = "unbias", isPrec=TRUE, qstep=0.01)
Observed series for the reference (historical) period.
Modelled series for the reference (historical) period.
Modelled series for the projected period. If missing, the reference (historical) period is corrected.
Correction method, either "unbias"
, "scaling"
, "quantmap"
A flag to indicate that variable is precipitation (only relevant for quantile mapping).
Probability step for quantile mapping (see defaultCorrectionParams
).
Returns a vector with corrected values.
De Caceres M, Martin-StPaul N, Turco M, Cabon A, Granda V (2018) Estimating daily meteorological data and downscaling climate models over landscapes. Environmental Modelling and Software 108: 186-196.