Commit 88d9d041 authored by Delaigue Olivier's avatar Delaigue Olivier
Browse files

docs(man): change the 'IndPeriod_Run' in 'RunModel_GR4H' doc

- to avoid the warning message about the fact that than less than a year was found for model warm up
Showing with 4 additions and 2 deletions
+4 -2
......@@ -46,3 +46,5 @@ RunModel_CemaNeigeGR6J InputsModel
RunModel_CemaNeigeGR6J OutputsModel
RunModel_CemaNeigeGR6J OutputsCrit
RunModel_CemaNeigeGR6J RunOptions
RunModel_GR4H OutputsModel
RunModel_GR4H RunOptions
......@@ -83,7 +83,7 @@ InputsModel <- CreateInputsModel(FUN_MOD = RunModel_GR4H, DatesR = BasinObs$Date
Precip = BasinObs$P, PotEvap = BasinObs$E)
## run period selection
Ind_Run <- seq(which(format(BasinObs$DatesR, format = "\%Y-\%m-\%d \%H:\%M")=="2004-03-01 00:00"),
Ind_Run <- seq(which(format(BasinObs$DatesR, format = "\%Y-\%m-\%d \%H:\%M")=="2005-01-01 00:00"),
which(format(BasinObs$DatesR, format = "\%Y-\%m-\%d \%H:\%M")=="2008-12-31 23:00"))
## preparation of the RunOptions object
......@@ -91,7 +91,7 @@ RunOptions <- CreateRunOptions(FUN_MOD = RunModel_GR4H,
InputsModel = InputsModel, IndPeriod_Run = Ind_Run)
## simulation
Param <- c(X1 = 521.113, X2 = -2.918, X3 = 218.009, X4 = 4.124)
Param <- c(X1 = 756.930, X2 = -0.773, X3 = 138.638, X4 = 5.247)
OutputsModel <- RunModel_GR4H(InputsModel = InputsModel, RunOptions = RunOptions, Param = Param)
## results preview
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment