get.parameter: Extract a parameter from a COSERO parameter file

View source: R/get.parameter.r

get.parameterR Documentation

Extract a parameter from a COSERO parameter file

Description

Extract a parameter from a COSERO parameter file.

Usage

get.parameter(x, parafile, dims = NULL)

Arguments

x

character. The name of the parameter that is extracted

parafile

character. The parameter file. May be a path to a file or a object retrieved by read_COSERO_par

dims

a matrix giving the dimensions of the parafile or NULL. If the latter, the dimensions of parafile will be determined.

Value

A matrix consisting of NB, IZ, NZ and the parameter is returned

Author(s)

Simon Frey

See Also

read_COSERO_par

Examples

    ### do not run
    get.parameter("CTMAX",par)

freysimon/TigeR documentation built on April 18, 2024, 4:57 p.m.