Run CENTURY simulations and load results into the R session
century_run.Rd
century_run
Usage
century_run(
pathname = pathname,
schedule = schedule,
name_bin = name_bin,
name_lis = name_lis,
name_txt = name_txt,
overwrite = TRUE,
extended = FALSE,
erase_bin = FALSE,
verbose = TRUE
)
Arguments
- pathname
character
string with valid path to a folder.- schedule
character
string with name of a valid schedule file (with extension '.sch')- name_bin
character
string with name to give to output '.bin' file.- name_lis
character
string with name to give to output '.lis' ASCII file.- name_txt
character
string specifying the name of the ASCII text (with extension '.txt') file that contains, in a single column, the name of the fields to extract from the results.- overwrite
logical
, if set to TRUE and the file already exists, it will overwrite; if set to FALSE and the file exists, it will stop with an error message.- extended
character
flag "Y" or "N" to decide whether the computation corresponds to an extended one (see CENTURY manual, section 6-1, for details).- erase_bin
logical
, if set to TRUE (default) the '.bin' file that results from the CENTURY simulation will be erased after the calculations are done.- verbose
logical
, if set to TRUE (default) information about the execution is printed on screen.