extract_wasim_params {wasim} | R Documentation |
retrieves desired parameters (currently limited to soil_model and snow_model) from WASIM control file
params=extract_wasim_params(wasim_param_file,param_list)
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 |
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).
Dataframe params contains the fields specified in param_list and their respective values.
Till Francke