dqm: Detrended quantile matching

View source: R/biasCorrection.R

dqmR Documentation

Detrended quantile matching

Description

Detrended quantile matching with delta-method extrapolation

Usage

dqm(o, p, s, precip, pr.threshold, n.quantiles, detrend = TRUE)

Arguments

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 p, but considering the test period.

precip

Logical indicating if o, p, s is precipitation data.

pr.threshold

Integer. The minimum value that is considered as a non-zero precipitation.

n.quantiles

Integer. Maximum number of quantiles to estimate. Default: same as data length.

detrend

logical. Detrend data prior to bias correction? Default. TRUE.

Details

DQM method developed by A. Canon, from https://github.com/pacificclimate/ClimDown, https://cran.r-project.org/web/packages/ClimDown/.

Author(s)

A. Cannon (acannon@uvic.ca), A. Casanueva

References

Cannon, A.J., S.R. Sobie, and T.Q. Murdock (2015) Bias Correction of GCM Precipitation by Quantile Mapping: How Well Do Methods Preserve Changes in Quantiles and Extremes?. J. Climate, 28, 6938–6959, https://doi.org/10.1175/JCLI-D-14-00754.1


SantanderMetGroup/downscaleR documentation built on July 4, 2023, 4:28 a.m.