modCalibrator {foreSIGHT} | R Documentation |
Calibrates weather generator models specified using modelTag.
modCalibrator(obs = NULL, modelTag = NULL)
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. |
modelTag provides the main function with requested models. modelTag is vector of any of the following supported models:
"Simple-ann"
a simple annual scaling
"P-ann-wgen"
a four parameter annual rainfall model
"P-seas-wgen"
a 16 parameter seasonal rainfall model
"P-har6-wgen"
a harmonic rainfall model with 6 periods
"P-har12-wgen"
a harmonic rainfall model
"P-har12-wgen-FS"
a harmonic rainfall model where seasonality is fixed (phase angles must be specified via modelInfoMod=list("P-har12-wgen-FS"=fixedPars=c(x,x,x,x))
"P-har26-wgen"
a harmonic rainfall model
"P-2har26-wgen"
a double harmonic rainfall model
"Temp-har26-wgen"
a harmonic temperature model not conditional on rainfall
"Temp-har26-wgen-wd"
a harmonic temperature model dependent on wet or dry day
"Temp-har26-wgen-wdsd"
a harmonic temperature model where standard deviation parameters are dependent on wet or dry day
"PET-har12-wgen"
a harmonic potential evapotranspiration model
"PET-har26-wgen"
a harmonic potential evapotranspiration model
"PET-har26-wgen-wd"
a harmonic potential evapotranspiration model dependent on wet or dry day
"Radn-har26-wgen"
a harmonic solar radiation model (MJ/m2)
data(tankDat) #Load tank data (tank_obs) modelTag=c("P-ann-wgen","Temp-har26-wgen") #Select a rainfall and a temperature generator out<- modCalibrator(obs = tank_obs, #Calibrate models modelTag = modelTag)