R/build_model_run.R
manage_model_run.RdGenerate folder structure for parallel SWAT execution
manage_model_run(project_path, run_path, n_thread, os, swat_vers, refresh, quiet)
| project_path | Path to the SWAT project folder (i.e. TxtInOut) |
|---|---|
| run_path | Path where the '.model_run' folder is built. If NULL the executable model is built in the 'project_path' |
| n_thread | Number of parallel threads that will be created. This number must be in accordance to the number of cores of the PC |
| os | String that indicates the operating system on the current machine |
| swat_vers | Character string that defines the SWAT version. Either "2012" or "plus". |
| refresh | Logical. Defines if refreshing exisiting .model_run folder structure should be forced. |
| quiet | Logical. Defines if messages should be written or function should be executed quietly. |