Learn R Programming

wasim (version 1.1.2)

extract_wasim_params: Extract Parameters from WaSiM-Control-File

Description

retrieves desired parameters (currently limited to soil\_model and snow\_model) from WASIM control file

Usage

extract_wasim_params(wasim_param_file,param_list)

Arguments

wasim_param_file
Path to WASIM control file (see details).
param_list
List of parameters to be extracted from the file. Currently supported:(all lowercase) m,tkorr,kkorr,kd,hmax,kh,cmelt,t0r,t0,c0

Value

Dataframe params contains the fields specified in param\_list and their respective values.

Details

The ordinary WASIM control file (*.ctrl) may be used as wasim\_param\_file. However, if this files uses internal variables (starting with \$), it is more safe to use the file *.\$\$\$ instead (produced after calling WASIM).