CreateCalibOptions.GRiwrmInputsModel {airGRiwrm} | R Documentation |
Creation of the CalibOptions object
Description
This function can be used either for a catchment (with an InputsModel object) or for a network (with a GRiwrmInputsModel object)
Usage
## S3 method for class 'GRiwrmInputsModel'
CreateCalibOptions(x, ...)
CreateCalibOptions(x, ...)
## S3 method for class 'InputsModel'
CreateCalibOptions(x, ...)
## S3 method for class 'character'
CreateCalibOptions(x, ...)
## S3 method for class ''function''
CreateCalibOptions(x, ...)
Arguments
x |
For a single catchment, it can be an object of class InputsModel or a function or a character corresponding to |
... |
arguments passed to airGR::CreateCalibOptions, see details |
Details
See airGR::CreateCalibOptions documentation for a complete list of arguments.
With a GRiwrmInputsModel object, all arguments are applied on each sub-catchments of the network.
Value
Depending on the class of InputsModel
argument (respectively InputsModel
and GRiwrmInputsModel
object), the returned value is respectively:
a
CalibOptions
object (See airGR::CreateCalibOptions)a
GRiwrmCalibOptions
object which is a list ofCalibOptions
object with one item per modeled sub-catchment