Learn R Programming

wasim (version 1.0)

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

params=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).