Description Usage Arguments Value Examples
View source: R/vs2dhReadConfig.R
Helper function: prepareImport (imports and prepares input file)
1 2 | prepareImport(model.path, mdb.path = system.file("extdata",
"InputDescription.xls", package = "kwb.vs2dh"), dbg = TRUE)
|
model.path |
full path to folder containing vs2dh.dat |
mdb.path |
full path to the folder containing the InputDescription.xls which is used as lookup table for converting FORTRAN to R parameter names (Default: system.file("extdata", "InputDescription.xls", package = "kwb.vs2dh")) |
dbg |
if TRUE text output is printed on the screen |
Read vs2dhi.dat and does some preparations steps which are stores in a list which contains the sublists "input" (raw imported vs2dh.dat file), "inpDescription" (lookup table defined in file "mdb.path"), "res" (prepared table with parameters names and values) and "rechargePeriods" (summary of start/endlines of file "input" for each recharge period)
1 2 3 4 5 | ## Not run:
model.path <- system.file("extdata", "vs2dh_example/tutorial2", package = "kwb.vs2dh")
prepareImport(model.path)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.