readRSMParameters: Reads parameters from RSMinerve parameter file

View source: R/readRSMParameters.R

readRSMParametersR Documentation

Reads parameters from RSMinerve parameter file

Description

Reads parameters from RSMinerve parameter file

Usage

readRSMParameters(filepath)

Arguments

filepath

Character with path to file to read.

Details

The suported RSMInerve objects are described in the vignette Overview Objects.
'parameters' contains 6 columns:
'Object' (character) identifying the RSMinerve object type (e.g. Station). See Vignette Parameters for more information on the objects available in RSMinerveR.
'Name' is the user specified name of the object in the RSMinerve model (e.g. Meteo station A).
'Zone' is the name of the zone an object is assigned to (e.g. "A").
'Parameters' names all parameters for each object (e.g. X \[m\], Y \[m\], etc.). The parameter names are the same as in the RS Minerve parameter file. See Vignette Parameters for more information on the parameters of the available objects in RSMinerveR.
'Values' contains the parameter values as numerics (e.g. 4500, 3000).

Value

Tibble containing all parameters read from file.

See Also

Other RS Minerve IO: getChunkSize(), load_minerve_input_csv(), readDBCSV(), readForcingCSV(), readForcingSTR(), readResultCSV(), readResultDST(), readSelectionCHK(), translateCSVtoDST(), writeRSMParameters(), writeSelectionCHK()

Examples

## Not run: 
filepath <- normalizePath(file.path("Tutorial_Parameters.txt"))
params <- readRSMParameters(filepath)

## End(Not run)

hydrosolutions/riversCentralAsia documentation built on Feb. 7, 2023, 4:50 p.m.