Commit 553da05a authored by Dorchies David's avatar Dorchies David
Browse files

doc: corrections brought by @guillaume.thirel

- With syntax corrections
- change development mode of pkgdown for having website generation at https://airgriwrm.g-eau.fr/dev

Refs #43
parent fc016f26
#' Calibration of a semi-distributed run-off model
#' Calibration of a semi-distributed precipitation-runoff model
#'
#' @param InputsModel object of class \emph{GRiwrmInputsModel}, see [CreateInputsModel.GRiwrm] for details.
#' @param RunOptions object of class \emph{GRiwrmRunOptions}, see [CreateRunOptions.GRiwrmInputsModel] for details.
#' @param InputsCrit object of class \emph{GRiwrmInputsCrit}, see [CreateInputsCrit.GRiwrmInputsModel] for details.
#' @param CalibOptions object of class \emph{GRiwrmCalibOptions}, see [CreateCalibOptions.GRiwrmInputsModel] for details.
#' @param useUpstreamQsim boolean describing if simulated (\code{TRUE}) or observed (\code{FALSE}) flows are used for calibration. Default is \code{TRUE}.
#' @param InputsModel object of class \emph{GRiwrmInputsModel}, see [CreateInputsModel.GRiwrm] for details
#' @param RunOptions object of class \emph{GRiwrmRunOptions}, see [CreateRunOptions.GRiwrmInputsModel] for details
#' @param InputsCrit object of class \emph{GRiwrmInputsCrit}, see [CreateInputsCrit.GRiwrmInputsModel] for details
#' @param CalibOptions object of class \emph{GRiwrmCalibOptions}, see [CreateCalibOptions.GRiwrmInputsModel] for details
#' @param useUpstreamQsim boolean describing if simulated (\code{TRUE}) or observed (\code{FALSE}) flows are used for calibration. Default is \code{TRUE}
#' @param ... further arguments passed to [airGR::Calibration].
#'
#' @return GRiwrmOutputsCalib object which is a list of OutputsCalib (See [airGR::Calibration]) for each node of the semi-distributed model.
#' @return [list] of [airGR::Calibration] outputs for each node of the semi-distributed model.
#' @export
Calibration.GRiwrmInputsModel <- function(InputsModel,
RunOptions,
......
#' Calibration of either **airGR** model and **airGRiwrm** semi-distributive model
#' Calibration of either a **airGR** model or a **airGRiwrm** semi-distributed model
#'
#' @param InputsModel the class of the first parameter determine which calibration is used
#' @param InputsModel the class of the first parameter determines which calibration algorithm is used
#' @param ... further arguments passed to or from other methods.
#'
#' @return \emph{OutputsCalib} or \emph{GRiwrmOutputsCalib} object
......
#' Convert meteorological data from basin scale to sub-basin scale
#' Conversion of meteorological data from basin scale to sub-basin scale
#'
#' @param x either a `GRiwrm` network description (See [CreateGRiwrm]), a [character] id of a node, a [matrix] containing meteorological data
#' @param x either a `GRiwrm` network description (See [CreateGRiwrm]), a [character] id of a node, or a [matrix] containing meteorological data
#' @param ... Parameters passed to the methods
#'
#' @return Either a [matrix] containing the converted meteorological data
#' @return [matrix] a matrix containing the converted meteorological data
#' @export
#' @rdname ConvertMeteoSD
#'
......@@ -11,7 +11,7 @@ ConvertMeteoSD <- function(x, ...) {
UseMethod("ConvertMeteoSD")
}
#' @param meteo [matrix] or [data.frame] containing meteorological data. Its [colnames] should be equal to the IDof the basins
#' @param meteo [matrix] or [data.frame] containing meteorological data. Its [colnames] should be equal to the ID of the basins
#' @export
#' @rdname ConvertMeteoSD
ConvertMeteoSD.GRiwrm <- function(x, meteo, ...) {
......@@ -22,7 +22,7 @@ ConvertMeteoSD.GRiwrm <- function(x, meteo, ...) {
return(meteoOut)
}
#' @param griwrm `GRiwrm` object describing the semi-distributive network (See [CreateGRiwrm])
#' @param griwrm `GRiwrm` object describing the semi-distributed network (See [CreateGRiwrm])
#' @export
#' @rdname ConvertMeteoSD
ConvertMeteoSD.character <- function(x, griwrm, meteo, ...) {
......@@ -40,7 +40,7 @@ ConvertMeteoSD.character <- function(x, griwrm, meteo, ...) {
}
#' @param areas [numeric] vector with the total area of the basin followed by the areas of the upstream basins in km^2^
#' @param temperature [logical] `TRUE` if the meteorological data is temperature. if `FALSE` minimum output values are bounded to zero
#' @param temperature [logical] `TRUE` if the meteorological data contain air temperature. If `FALSE` minimum output values are bounded to zero
#' @export
#' @rdname ConvertMeteoSD
ConvertMeteoSD.matrix <- function(x, areas, temperature = FALSE, ...) {
......
#' CreateCalibOptions both available for \emph{InputsModel} and \emph{GRwirmInputsModel} objects
#' Creation of the CalibOptions object either for \emph{InputsModel} or for \emph{GRwirmInputsModel} objects
#'
#' @param InputsModel object of class \emph{InputsModel} or \emph{GRwirmInputsModel}. See [CreateInputsModel] for details
#' @param ... further arguments passed to or from other methods
#'
#' @return Either a `CalibOptions` or a `GRiwrmCalibOptions` object
#' @return [list] Either a `CalibOptions` or a `GRiwrmCalibOptions` object
#' @export
CreateCalibOptions <- function(InputsModel, ...) {
UseMethod("CreateCalibOptions", InputsModel)
......
#' Generate a network description containing all hydraulic nodes and the description
#' Generation of a network description containing all hydraulic nodes and the description
#' of their connections
#'
#' @details `db` is a [data.frame] which at least contains in its columns:
......@@ -6,20 +6,18 @@
#' * a node identifier (column `id`),
#' * the identifier and the hydraulic distance to the downstream node ([character] columns `down` and [numeric] columns `length` in km). The last downstream node should have fields `down` and `length` set to `NA`,
#' * the area of the basin ([numeric] column `area` in km^2^)
#' * the hydrological model to use if so ([character] column `model`) ([NA] for using observed flow instead of a run-off model output)
#' * the hydrological model to use if necessary ([character] column `model`) ([NA] for using observed flow instead of a runoff model output)
#'
#' @param db a [data.frame] containing the description of the network (See details)
#' @param cols named list or vector for matching columns of `db` parameter. By default, mandatory columns names are: `id`, `down`, `length`. But other names can be handled with a named list or vector containing items defined as `"required name" = "column name in db"`
#' @param keep_all keep all column of `db` or keep only columns defined in `cols`
#' @param db [data.frame] description of the network (See details)
#' @param cols [list] or [vector] columns of `db`. By default, mandatory column names are: `id`, `down`, `length`. Other names can be handled with a named list or vector containing items defined as `"required name" = "column name in db"`
#' @param keep_all [logical] indicating if all columns of `db` should be kept or if only columns defined in `cols` should be kept
#'
#' @return An object of class `GRiwrm` describing the airGR semi-distributed model network.
#'
#' It's a [data.frame] with each line corresponding to a location on the river network and with the following columns:
#' @return [data.frame] of class `GRiwrm` describing the airGR semi-distributed model network, with each line corresponding to a location on the river network and with the following columns:
#' * `id` ([character]): node identifier
#' * `down` ([character]): the identifier of the node downstream of the current node ([NA] for the most downstream node)
#' * `length` ([numeric]): the hydraulic distance to the downstream node in km ([NA] for the most downstream node)
#' * `area` ([numeric]): the total area of the basin starting from the current node location in km^2^
#' * `model` ([character]): the hydrological model to use if so ([NA] for using observed flow instead of a run-off model output)
#' * `down` ([character]): identifier of the node downstream of the current node ([NA] for the most downstream node)
#' * `length` ([numeric]): hydraulic distance to the downstream node in km ([NA] for the most downstream node)
#' * `area` ([numeric]): total area of the basin starting from the current node location in km^2^
#' * `model` ([character]): hydrological model to use if necessary ([NA] for using observed flow instead of a runoff model output)
#'
#' @aliases GRiwrm
#' @export
......@@ -28,13 +26,13 @@
#' # Run the `airGR::RunModel_Lag` example in the GRiwrm fashion way #
#' ###################################################################
#'
#' # Run airGR RunModel_Lag example for harvesting necessary data
#' # Run the airGR RunModel_Lag example for harvesting the necessary data
#' library(airGR)
#' example(RunModel_Lag)
#' # detach the package because airGR overwrite airGRiwrm functions here
#' # detach the package because otherwise airGR overwrites the airGRiwrm functions
#' detach("package:airGR")
#'
#' # This example is a network of 2 nodes which can be describe like this:
#' # This example is a network of 2 nodes which can be described like this:
#' db <- data.frame(id = c("Reservoir", "GaugingDown"),
#' length = c(LengthHydro, NA),
#' down = c("GaugingDown", NA),
......@@ -80,12 +78,12 @@ CreateGRiwrm <- function(db,
db
}
#' Check the column types of a [data.frame]
#' Check of the column types of a [data.frame]
#'
#' @param df [data.frame] to check
#' @param coltypes named [list] with the name of the columns to check as key and the required type as value
#'
#' @return [NULL] or throw an error if a wrong type is detected.
#' @return [NULL] or error message if a wrong type is detected
#' @export
#' @examples
#' CheckColumnTypes(
......@@ -109,11 +107,11 @@ CheckColumnTypes <- function(df, coltypes) {
return(NULL)
}
#' Sort the nodes from upstream to downstream.
#' Sorting of the nodes from upstream to downstream
#'
#' @param griwrm See [CreateGRiwrm]
#' @param griwrm \[object of class `GRiwrm`\] see [CreateGRiwrm] for details
#'
#' @return vector with the ordered node names.
#' @return [numeric] ordered node names
getNodeRanking <- function(griwrm) {
if (!inherits(griwrm, "GRiwrm")) {
stop("getNodeRanking: griwrm argument should be of class GRiwrm")
......
#' Create \emph{GRiwrmInputsCrit} object for **airGRiwrm**.
#' Creation of the \emph{GRiwrmInputsCrit} object for the **airGRiwrm** ErrorCrit functions.
#'
#' This function does the same operations as [airGR::CreateInputsCrit] for all sub-basins of the GRiwrm model.
#' This function does the same operations as [airGR::CreateInputsCrit] for all sub-basins of the GRiwrm model. It creates the InputsCrit object required to the ErrorCrit_ functions but for the **airGRiwrm** package. This function is used to define whether the user wants to calculate a single criterion, multiple criteria at the same time, or a composite criterion, which averages several criteria.
#'
#' @param InputsModel object of class \emph{GRiwrmInputsModel}, see [CreateInputsModel.GRiwrm] for details.
#' @param InputsModel \[object of class \emph{GRiwrmInputsModel}\] see [CreateInputsModel.GRiwrm] for details
#' @param FUN_CRIT \[function (atomic or list)\] error criterion function (e.g. [airGR::ErrorCrit_RMSE], [airGR::ErrorCrit_NSE])
#' @param RunOptions object of class \emph{GRiwrmRunOptions}, see [CreateRunOptions.GRiwrmInputsModel] for details.
#' @param Obs matrix or data frame containing observed flows. Column names correspond to nodes ID
#' @param ... further arguments passed to [airGR::CreateInputsCrit].
#' @param RunOptions \[object of class \emph{GRiwrmRunOptions}\] see [CreateRunOptions.GRiwrmInputsModel] for details
#' @param Obs [matrix] or [data.frame] series of observed flows. Column names must correspond to nodes ID
#' @param ... further arguments passed to [airGR::CreateInputsCrit]
#'
#' @return Object of class \emph{GRiwrmInputsCrit} which is a list of `airGR::InputsCrit` objects (See [airGR::CreateInputsCrit])
#' @return [list] Object of class \emph{GRiwrmInputsCrit} containing `airGR::InputsCrit` objects (See [airGR::CreateInputsCrit])
#' @export
CreateInputsCrit.GRiwrmInputsModel <- function(InputsModel,
FUN_CRIT = airGR::ErrorCrit_NSE,
......
#' Creation of the InputsCrit object required to the ErrorCrit functions
#' Creation of the InputsCrit object required to the ErrorCrit functions
#'
#' Creation of the InputsCrit object required to the ErrorCrit functions either for \emph{InputsModel} or for \emph{GRwirmInputsModel} objects
#'
#' @param InputsModel InputsModel for **airGRiwrm** (See \code{[CreateInputsModel.GRiwrmInputsModel]}) or **airGR** (See [airGR::CreateInputsModel])
#' @param ... further arguments passed to or from other methods.
......
#' Create InputsModel object for a **airGRiwrm** network
#' Creation of an InputsModel object for a **airGRiwrm** network
#'
#' @param x GRiwrm object describing the diagram of the semi-distributed model (See [CreateGRiwrm])
#' @param DatesR Vector of POSIXt observation time steps
#' @param Precip Matrix or data frame of numeric containing precipitation in mm. Column names correspond to node IDs
#' @param PotEvap Matrix or data frame of numeric containing potential evaporation in mm. Column names correspond to node IDs
#' @param Qobs Matrix or data frame of numeric containing potential observed flow in mm. Column names correspond to node IDs
#' @param x \[GRiwrm object\] diagram of the semi-distributed model (See [CreateGRiwrm])
#' @param DatesR [POSIXt] vector of dates
#' @param Precip [matrix] or [data.frame] frame of numeric containing precipitation in \[mm per time step\]. Column names correspond to node IDs
#' @param PotEvap [matrix] or [data.frame] frame of numeric containing potential evaporation \[mm per time step\]. Column names correspond to node IDs
#' @param Qobs [matrix] or [data.frame] frame of numeric containing observed flows in \[mm per time step\]. Column names correspond to node IDs
#' @param PrecipScale (optional) named [vector] of [logical] 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)
#' @param TempMean (optional) [matrix] or [data.frame] of time series of mean air temperature \[°C\], required to create the CemaNeige module inputs
#' @param TempMin (optional) [matrix] or [data.frame] of time series of minimum air temperature \[°C\], possibly used to create the CemaNeige module inputs
......@@ -21,17 +21,17 @@
#' @return GRiwrmInputsModel object equivalent to **airGR** InputsModel object for a semi-distributed model (See [airGR::CreateInputsModel])
#' @export
#' @examples
#' #################################################################
#' # Run the `airGRRunModel_Lag` example in the GRiwrm fashion way #
#' #################################################################
#' ##################################################################
#' # Run the `airGR RunModel_Lag` example in the GRiwrm fashion way #
#' ##################################################################
#'
#' # Run airGR RunModel_Lag example for harvesting necessary data
#' # Run the airGR RunModel_Lag example for harvesting necessary data
#' library(airGR)
#' example(RunModel_Lag)
#' # detach the package because airGR overwrite airGRiwrm functions here
#' # detach the package because otherwise airGR overwrites the airGRiwrm functions
#' detach("package:airGR")
#'
#' # This example is a network of 2 nodes which can be describe like this:
#' # This example is a network of 2 nodes which can be described like this:
#' db <- data.frame(id = c("Reservoir", "GaugingDown"),
#' length = c(LengthHydro, NA),
#' down = c("GaugingDown", NA),
......@@ -44,7 +44,7 @@
#' str(griwrm)
#'
#' # Formatting observations for the hydrological models
#' # Each input data should be a matrix or a data.frame with the good id in the name of the column
#' # Each input data should be a matrix or a data.frame with the correct id as the column name
#' Precip <- matrix(BasinObs$P, ncol = 1)
#' colnames(Precip) <- "GaugingDown"
#' PotEvap <- matrix(BasinObs$E, ncol = 1)
......@@ -124,7 +124,7 @@ CreateInputsModel.GRiwrm <- function(x, DatesR,
}
#' Create an empty InputsModel object for **airGRiwrm** nodes
#' Creation of an empty InputsModel object for **airGRiwrm** nodes
#'
#' @param griwrm a `GRiwrm` object (See [CreateGRiwrm])
#'
......@@ -203,13 +203,13 @@ CreateOneGRiwrmInputsModel <- function(id, griwrm, ..., Qobs) {
}
#' Check time steps of the model of all the nodes and return the time step in seconds
#' Check of time steps of the model for all nodes and return of the time step in seconds
#'
#' This function is called inside [CreateInputsModel.GRiwrm] for defining the time step of the big model.
#' Function that is called inside [CreateInputsModel.GRiwrm] for defining the time step of the complete model
#'
#' @param InputsModel a `GRiwrmInputsModel`
#' @param InputsModel \[object of class `GRiwrmInputsModel`\]
#'
#' @return A [numeric] representing the time step in seconds
#' @return [numeric] time step in seconds
#' @noRd
getModelTimeStep <- function(InputsModel) {
TS <- sapply(InputsModel, function(x) {
......
#' Wrapper for [airGR::CreateInputsModel] for one sub-basin.
#' Wrapper for [airGR::CreateInputsModel] for one sub-basin
#'
#' @param x [function] hydrological model function (e.g. [airGR::RunModel_GR4J]...)
#' @param ... arguments passed to [airGR::CreateInputsModel]
......
#' Create \emph{GRiwrmRunOptions} object for running and calibrating model in **airGRiwrm**.
#' Creation of the \emph{GRiwrmRunOptions} object for running and calibrating a model in **airGRiwrm**.
#'
#' @param InputsModel object of class \emph{GRiwrmInputsModel}, see [CreateInputsModel.GRiwrm] for details.
#' @param ... further arguments passed to [airGR::CreateRunOptions].
#' @param InputsModel \[object of class \emph{GRiwrmInputsModel}\] see [CreateInputsModel.GRiwrm] for details
#' @param ... further arguments passed to [airGR::CreateRunOptions]
#'
#' @return \emph{GRiwrmRunOptions} object for running and calibrating model in **airGRiwrm**.
#' @return \emph{GRiwrmRunOptions} object for running and calibrating a model in **airGRiwrm**
#' @export
#' @inherit RunModel.GRiwrmInputsModel return examples
#'
......
#' Wrapper for [airGR::CreateRunOptions] for one sub-basin.
#' Wrapper for [airGR::CreateRunOptions] for one sub-basin
#'
#' @param InputsModel object of class \emph{InputsModel}, see [airGR::CreateInputsModel] for details.
#' @param InputsModel \[object of class \emph{InputsModel}\] see [airGR::CreateInputsModel] for details
#' @param ... Arguments passed to [airGR::CreateRunOptions]
#' @export
CreateRunOptions.InputsModel <- function(InputsModel, ...) {
......
#' Create \emph{RunOptions} object for **airGR** and **airGRiwrm**.
#' Creation of the \emph{RunOptions} object for either **airGR** or **airGRiwrm**.
#'
#' See [airGR::CreateRunOptions] and [CreateRunOptions.GRiwrmInputsModel] for usage.
#' See [airGR::CreateRunOptions] and [CreateRunOptions.GRiwrmInputsModel] for usage
#'
#' @param InputsModel object of class \emph{InputsModel} (see [airGR::CreateInputsModel]) or \emph{GRiwrmInputsModel} (See [CreateInputsModel.GRiwrm]).
#' @param ... further arguments passed to or from other methods.
#' @param InputsModel \[object of class \emph{InputsModel} (see [airGR::CreateInputsModel]) or \emph{GRiwrmInputsModel} (See [CreateInputsModel.GRiwrm])\]
#' @param ... further arguments passed to or from other methods
#'
#' @return Object of \emph{RunOptions} class family
#' @export
......
#' Create a Supervisor for handling regulation in a model
#' Creation of a Supervisor for handling regulation in a model
#'
#' @param InputsModel `GRiwrmInputsModel` The inputs of the basin model
#' @param TimeStep [integer] The number of time steps between each supervision
#' @param InputsModel \[object of type `GRiwrmInputsModel`\] inputs of the model
#' @param TimeStep [numeric] number of time steps between each supervision
#'
#' @return `Supervisor` object
#' @export
......
#' Run rainfall-runoff part of a sub-basin model
#' Run of a rainfall-runoff model on a sub-basin
#'
#' @inherit airGR::RunModel
#' @param x `InputsModel` used as `InputsModel` parameter for [airGR::RunModel]
#' @param x \[object of class `InputsModel`\] `InputsModel` for [airGR::RunModel]
#' @param ... further arguments passed to or from other methods
#'
#' @export
......
#' RunModel function for GRiwrmInputsModel object
#' RunModel function for \emph{GRiwrmInputsModel} object
#'
#' @param x object of class \emph{GRiwrmInputsModel}, see [CreateInputsModel.GRiwrm] for details
#' @param RunOptions object of class \emph{GRiwrmRunOptions}, see [CreateRunOptions.GRiwrmInputsModel] for details
#' @param Param [list] of parameters. The list item names are the IDs of the sub-basins. Each item is a [numeric] [vector]
#' @param x \[object of class \emph{GRiwrmInputsModel}\] see [CreateInputsModel.GRiwrm] for details
#' @param RunOptions \[object of class \emph{GRiwrmRunOptions}\] see [CreateRunOptions.GRiwrmInputsModel] for details
#' @param Param [list] parameter values. The list item names are the IDs of the sub-basins. Each item is a [numeric] [vector]
#' @param ... Mandatory for S3 method signature function compatibility with generic.
#'
#' @return \emph{GRiwrmOutputsModel} object which is a list of \emph{OutputsModel} objects (See \[airGR::RunModel]) for each node of the semi-distributed model.
#' @return [[list] of class \emph{GRiwrmOutputsModel}] list of \emph{OutputsModel} objects (See \[airGR::RunModel]) for each node of the semi-distributed model
#' @export
#' @examples
#' #################################################################
#' # Run the `airGRRunModel_Lag` example in the GRiwrm fashion way #
#' #################################################################
#'
#' # Run airGR RunModel_Lag example for harvesting necessary data
#' # Run the airGR RunModel_Lag example for harvesting necessary data
#' library(airGR)
#' example(RunModel_Lag)
#' # detach the package because airGR overwrite airGRiwrm functions here
#' # detach the package because otherwise airGR overwrites the airGRiwrm functions
#' detach("package:airGR")
#'
#' # This example is a network of 2 nodes which can be describe like this:
......
#' Wrapper for [airGR::RunModel] for one sub-basin.
#' Wrapper for [airGR::RunModel] for one sub-basin
#'
#' @inherit airGR::RunModel
#' @param x `InputsModel` used as `InputsModel` parameter for [airGR::RunModel]
#' @param x \[object of class \emph{InputsModel}\] see [airGR::CreateInputsModel] for details
#' @param ... Further arguments for compatibility with S3 method
#' @export
RunModel.InputsModel <- function(x, RunOptions, Param, FUN_MOD = NULL, ...) {
......
#' RunModel function for both **airGR** InputsModel and GRiwrmInputsModel object
#'
#' @param x object of class \emph{InputsModel} or \emph{GRiwrmInputsModel}. See [CreateInputsModel] for details
#' @param x \[object of class \emph{InputsModel} or \emph{GRiwrmInputsModel}\] see [CreateInputsModel] for details
#' @param ... further arguments passed to or from other methods
#'
#' @return Either a [list] of OutputsModel object (for GRiwrmInputsModel) or an OutputsModel object (for InputsModel)
......
#' Run SD Model from run-off model outputs
#' Run a semi-distributed model from rainfall-runoff model outputs
#'
#' @inheritParams airGR::RunModel_Lag
#' @param x `InputsModel` used as `InputsModel` parameter for [airGR::RunModel_Lag]
#' @param x \[object of class `InputsModel`\] used as `InputsModel` parameter for [airGR::RunModel_Lag]
#' @param ... further arguments passed to or from other methods
#'
#' @return `OutputsModel` object. See [airGR::RunModel_Lag]
......
#' RunModel function for GRiwrmInputsModel object
#' RunModel function for a GRiwrmInputsModel object
#'
#' @param x object of class `Supervisor`, see [CreateSupervisor] for details.
#' @param RunOptions object of class \emph{GRiwrmRunOptions}, see \code{[CreateRunOptions.GRiwrm]} for details.
#' @param Param list of parameter. The list item names are the IDs of the sub-basins. Each item is a vector of numerical parameters.
#' @param ... Mandatory for S3 method signature function compatibility with generic.
#' @param x \[object of class `Supervisor`\] see [CreateSupervisor] for details
#' @param RunOptions \[object of class \emph{GRiwrmRunOptions}\] see \code{[CreateRunOptions.GRiwrm]} for details
#' @param Param [list] parameter values. The list item names are the IDs of the sub-basins. Each item is a vector of numerical parameters
#' @param ... Mandatory for S3 method signature function compatibility with generic
#'
#' @return \emph{GRiwrmOutputsModel} object which is a list of \emph{OutputsModel} objects (See [airGR::RunModel]) for each node of the semi-distributed model.
#' @return \emph{GRiwrmOutputsModel} object which is a list of \emph{OutputsModel} objects (See [airGR::RunModel]) for each node of the semi-distributed model
#' @export
RunModel.Supervisor <- function(x, RunOptions, Param, ...) {
......
......@@ -3,7 +3,7 @@
#' @format a [list] with 2 items:
#'
#' - "BasinsInfo" which contains a [data.frame] with Gauging station identifier, name, coordinates (GPS), area (km^2^), mean elevation (m), station type, flow period start and end, the bank full flow (m^3^/s), the identifier of the following downstream station and the distance to the following downstream station
#' - "BasinObs" which contains a [list] with an item by gauging station which contains a [data.frame] with [POSIXct] dates, precipitations (mm), potential evapotranspiration (mm) and measured flow (mm)
#' - "BasinObs" which contains a [list] with an item by gauging station which contains a [data.frame] with [POSIXct] dates, precipitations (mm/time step), potential evapotranspiration (mm/time step) and measured flows (mm/time step)
#'
#' @source \url{https://doi.org/10.5285/8344E4F3-D2EA-44F5-8AFA-86D2987543A9}
"Severn"
Markdown is supported
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