diff --git a/DESCRIPTION b/DESCRIPTION index 58626d6f3ec36eb185389964255151a8814b9ec7..9ef584520ec72124e801cfffd6d493fc214e3b60 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Package: airGR Type: Package Title: Suite of GR Hydrological Models for Precipitation-Runoff Modelling -Version: 1.6.9.3 +Version: 1.6.9.4 Date: 2021-01-08 Authors@R: c( person("Laurent", "Coron", role = c("aut", "trl"), comment = c(ORCID = "0000-0002-1503-6204")), diff --git a/NEWS.md b/NEWS.md index f8114bdfa1dee5aeb06ca0fccec6d60b92c79a12..7bd9a3aa6138c402c3bd942e6257aea38f34e338 100644 --- a/NEWS.md +++ b/NEWS.md @@ -2,7 +2,7 @@ -### 1.6.9.3 Release Notes (2021-01-08) +### 1.6.9.4 Release Notes (2021-01-08) #### New features diff --git a/man/CreateInputsModel.Rd b/man/CreateInputsModel.Rd index 3716e10108f338ae2be103361067424244ed5cef..cab3a276b6e409314b4bdd03d6fe82c9c21a8b63 100644 --- a/man/CreateInputsModel.Rd +++ b/man/CreateInputsModel.Rd @@ -3,6 +3,7 @@ \name{CreateInputsModel} \alias{CreateInputsModel} +\alias{[.InputsModel} \title{Creation of the InputsModel object required to the RunModel functions} @@ -19,6 +20,8 @@ CreateInputsModel(FUN_MOD, DatesR, Precip, PrecipScale = TRUE, PotEvap = NULL, ZInputs = NULL, HypsoData = NULL, NLayers = 5, Qupstream = NULL, LengthHydro = NULL, BasinAreas = NULL, verbose = TRUE) + +\method{[}{InputsModel}(x, i) } @@ -53,6 +56,9 @@ CreateInputsModel(FUN_MOD, DatesR, Precip, PrecipScale = TRUE, PotEvap = NULL, \item{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)} +\item{x}{[InputsModel] object of class InputsModel} + +\item{i}{[integer] elements to extract} } diff --git a/man/RunModel.Rd b/man/RunModel.Rd index ceae5f1dc480d3ef4516b31ad145db9d769749a0..7037f1052e55622b349f64e24a95b26907a15bbc 100644 --- a/man/RunModel.Rd +++ b/man/RunModel.Rd @@ -3,6 +3,7 @@ \name{RunModel} \alias{RunModel} +\alias{[.OutputsModel} \title{Run with the provided hydrological model function} @@ -15,6 +16,8 @@ Function which performs a single model run with the provided function over the s \usage{ RunModel(InputsModel, RunOptions, Param, FUN_MOD) + +\method{[}{OutputsModel}(x, i) } @@ -26,6 +29,10 @@ RunModel(InputsModel, RunOptions, Param, FUN_MOD) \item{Param}{[numeric] vector of model parameters (See details for SD lag model)} \item{FUN_MOD}{[function] hydrological model function (e.g. \code{\link{RunModel_GR4J}}, \code{\link{RunModel_CemaNeigeGR4J}})} + +\item{x}{[InputsModel] object of class InputsModel} + +\item{i}{[integer] elements to extract} }