RunOptions always warning "model states initialisation not defined" on GR1A model
The following code:
library(airGR)
data(L0123001)
InputsModel <- CreateInputsModel(FUN_MOD = RunModel_GR4J,
DatesR = BasinObs$DatesR,
Precip = BasinObs$P,
PotEvap = BasinObs$E)
# conversion of InputsModel to target time step
InputsModel <- SeriesAggreg(InputsModel, Format = "%Y")
Ind_WarmUp <- seq(
which(format(InputsModel$DatesR, format = "%Y")=="1985"),
which(format(InputsModel$DatesR, format = "%Y")=="1985")
)
Ind_Run <- seq(
which(format(InputsModel$DatesR, format = "%Y")=="1986"),
which(format(InputsModel$DatesR, format = "%Y")=="2011")
)
# preparation of the RunOptions object
RunOptions <- CreateRunOptions(FUN_MOD = RunModel_GR1A,
InputsModel = InputsModel,
IndPeriod_Run = Ind_Run,
IndPeriod_WarmUp = Ind_WarmUp)
results with the following warning:
Warning message:
In CreateRunOptions(FUN_MOD = RunModel_GR1A, InputsModel = InputsModel, :
model states initialisation not defined: default configuration used
If I let the default warm up, the warning appears with the usual default warm-up warning:
RunOptions <- CreateRunOptions(FUN_MOD = RunModel_GR1A,
InputsModel = InputsModel,
IndPeriod_Run = Ind_Run)
There is still a warning indicating a wrong initialisation...
Warning messages:
1: In CreateRunOptions(FUN_MOD = RunModel_GR1A, InputsModel = InputsModel, :
model warm up period not defined: default configuration used
the year preceding the run period is used
2: In CreateRunOptions(FUN_MOD = RunModel_GR1A, InputsModel = InputsModel, :
model states initialisation not defined: default configuration used
Is it a normal behavior? I don't see any clue about this in the documentation.