GR4JWrapperExamples {hydroMOPSO} | R Documentation |
Example wrapper functions to execute GR4J model
Description
Example wrapper functions to execute the GR4J model and obtain the performance of two objective functions (KGE2012 and KGEGarcia), in a calibration (GR4JExampleCal
) or a verification period (GR4JExampleVer
). Keep in mind that, within hydroMOPSO
, the calibration or verification wrapper functions essentially have to be prepared by the user, with the objective functions that are convenient and the output variables that are necessary.
Thus, the functions presented here are only intended to work with examples from the documentation and serve as a guide to:
1) The general scheme of the calibration/verification wrapper functions
2) The assimilation of mandatory inputs
3) The assimilation of mandatory outputs
Usage
GR4JExampleCal(param.values,
Obs,
Objs.names,
var.names,
var.units,
full.period,
warmup.period,
cal.period,
InputsModel,
RunOptions,
area)
GR4JExampleVer(param.values,
Obs,
Objs.names,
var.names,
var.units,
full.period,
warmup.period,
cal.period,
InputsModel,
RunOptions,
area)
Arguments
param.values |
( |
Obs |
( |
Objs.names |
( |
var.names |
( |
var.units |
( |
full.period |
( |
warmup.period |
( |
cal.period |
( |
InputsModel |
( |
RunOptions |
( |
area |
( |
Value
(list
)
The returned list contains two elements
- Objs
(
numeric
)
Vector with the numerical values of the objectives (GoF1 and GoF2).- sim
(
list
)
List with as many elements as time series of the output variables of the model (in this case only one output variable: streamflows).
Author(s)
Rodrigo Marinao Rivas ra.marinao.rivas@gmail.com, Mauricio Zambrano-Bigiarini, mzb.devel@gmail.com
See Also
hydroMOPSO