manage_model_run: Generate folder structure for parallel SWAT execution

View source: R/build_model_run.R

manage_model_runR Documentation

Generate folder structure for parallel SWAT execution

Description

Generate folder structure for parallel SWAT execution

Usage

manage_model_run(
  project_path,
  run_path,
  n_thread,
  os,
  swat_vers,
  refresh,
  quiet
)

Arguments

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.


chrisschuerz/SWATplusR documentation built on Feb. 18, 2024, 6:56 p.m.