- FUN_MOD
[function] hydrological model function (e.g. RunModel_GR4J
, RunModel_CemaNeigeGR4J
)
- DatesR
[POSIXt] vector of dates required to create the GR model and CemaNeige module inputs
- Precip
[numeric] time series of total precipitation (catchment average) [mm/time step], required to create the GR model and CemaNeige module inputs
- PrecipScale
(optional) [boolean] indicating if the mean of the precipitation interpolated on the elevation layers must be kept or not, required to create CemaNeige module inputs, default = TRUE
(the mean of the precipitation is kept to the original value)
- PotEvap
[numeric] time series of potential evapotranspiration (catchment average) [mm/time step], required to create the GR model inputs
- TempMean
(optional) [numeric] time series of mean air temperature [°C], required to create the CemaNeige module inputs
- TempMin
(optional) [numeric] time series of min air temperature [°C], possibly used to create the CemaNeige module inputs
- TempMax
(optional) [numeric] time series of max air temperature [°C], possibly used to create the CemaNeige module inputs
- ZInputs
(optional) [numeric] real giving the mean elevation of the Precip and Temp series (before extrapolation) [m], possibly used to create the CemaNeige module inputs
- HypsoData
(optional) [numeric] vector of 101 reals: min, q01 to q99 and max of catchment elevation distribution [m], if not defined a single elevation is used for CemaNeige
- NLayers
(optional) [numeric] integer giving the number of elevation layers requested [-], required to create CemaNeige module inputs, default=5
- verbose
(optional) [boolean] boolean indicating if the function is run in verbose mode or not, default = TRUE
- Qupstream
(optional) [numerical matrix] time series of upstream flows (catchment average), its unit is defined by the QupstrUnit
parameter, required to create the SD model inputs. See details
- LengthHydro
(optional) [numeric] real giving the distance between the downstream outlet and each upstream inlet of the sub-catchment [km], required to create the SD model inputs . See details
- BasinAreas
(optional) [numeric] real giving the area of each upstream sub-catchment [km2] and the area of the downstream sub-catchment in the last item, required to create the SD model inputs . See details
- QupstrUnit
(optional) [character] unit of the flow in the argument Qupstream
, available units are: "mm" for mm/time-step (default), "m3" for m3/time-step, "m3/s" and "l/s". See details
- x
[InputsModel] object of class InputsModel
- i
[integer] of the indices to subset a time series or [character] names of the elements to extract