Start selected ecosystem model runs within PEcAn workflow
Source:R/start_model_runs.R
start_model_runs.RdNote: When using a queue system, PEcAn queries each job individually every `check_interval` seconds. The default interval of ten seconds was chosen for small sets of jobs in a fast-moving queue, and if used for large runs it can create excessive load. If you expect the whole run to take hours, consider checking much less often (every few minutes?) instead.
Usage
start_model_runs(
settings,
write = TRUE,
stop.on.error = TRUE,
check_interval = 10
)
runModule_start_model_runs(settings, stop.on.error = TRUE, ...)Functions
runModule_start_model_runs(): A lightweight wrapper around `start_model_runs` that takes `write` from `settings` instead of as a separate argument.
Examples
if (FALSE) { # \dontrun{
settings <- PEcAn.settings::read.settings("pecan.xml")
start_model_runs(settings)
} # }