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 Nov. 16, 2024, 1:35 a.m.