adjustPrecipFreq: adjustPrecipFreq

View source: R/biasCorrection.R

adjustPrecipFreqR Documentation

adjustPrecipFreq

Description

Adjusts precipitation frequency in 'p' (prediction) to the observed frequency in 'o'. It constitutes a preprocess to bias correct precipitation data following Themeßl et al. (2012).

Usage

adjustPrecipFreq(obs, pred, threshold)

Arguments

obs

A vector (e.g. station data) containing the observed climate data for the training period

pred

A vector containing the simulated climate by the model for the training period.

threshold

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

Author(s)

S. Herrera and M. Iturbide


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