modCalibrator {foreSIGHT} | R Documentation |
modCalibrator
Description
Calibrates weather generator models specified using modelTag.
Usage
modCalibrator(obs = NULL, modelTag = NULL, window = NULL)
Arguments
obs |
A dataframe of observed climate data in the form Year Month Day P Temp. |
modelTag |
A character vector of which stochastic models to use to create each climate variable. Supported tags are shown in under details below. |
window |
moving average window to calibrate daily gamma parameters for
the modelTag |
Details
modelTag provides the main function with requested models. modelTag is vector of any of the following supported models:
-
"P-ann-wgen"
a four parameter annual rainfall model -
"P-seas-wgen"
a 16 parameter seasonal rainfall model (phase angles must be specified via modelInfoMod=list("P-har12-wgen-FS"=fixedPars=c(x,x,x,x)) -
"P-har-wgen"
a harmonic rainfall model -
"Temp-har-wgen"
a harmonic temperature model not conditional on rainfall -
"Temp-har-wgen-wd"
a harmonic temperature model dependent on wet or dry day -
"Temp-har-wgen-wdsd"
a harmonic temperature model where standard deviation parameters are dependent on wet or dry day -
"PET-har-wgen"
a harmonic potential evapotranspiration model -
"PET-har-wgen-wd"
a harmonic potential evapotranspiration model dependent on wet or dry day -
"Radn-har-wgen"
a harmonic solar radiation model (MJ/m2)
Examples
data(tankDat) #Load tank data (tank_obs)
modelTag=c("P-ann-wgen","Temp-har-wgen") #Select a rainfall and a temperature generator
out<- modCalibrator(obs = tank_obs, #Calibrate models
modelTag = modelTag)