run_stics | R Documentation |
This function uses Stics directly through a system call
run_stics(
stics_exe,
workspace,
usm = NULL,
check = TRUE,
verbose = FALSE,
model_path = lifecycle::deprecated(),
data_dir = lifecycle::deprecated(),
usm_dir_names = lifecycle::deprecated(),
check_exe = lifecycle::deprecated(),
display = lifecycle::deprecated()
)
stics_exe |
Path of Stics the executable file |
workspace |
Path of the workspace containing the Stics (txt) input files |
usm |
Vector of USM names. Optional, if provided, the function runs only the given USMs. If not provided, the function runs all the USMs included in workspace. |
check |
Logical, T for checking the model executable, F otherwise |
verbose |
Logical value (optional), TRUE to display usms names, FALSE otherwise (default) |
model_path |
|
data_dir |
|
usm_dir_names |
|
check_exe |
|
display |
A list with usm names and execution error status
## Not run:
# Specifying individual usm directories
run_stics("/home/username/bin/Stics", "/home/username/Work/SticsInputsDir")
run_stics("/home/username/bin/Stics", c(
"/home/username/Work/SticsInputsDir1",
"/home/username/Work/SticsInputsDir2"
))
# Specifying a parent directory of usms directories
# running one or several usms
run_stics("/home/username/bin/Stics",
"/home/username/Work/SticsInputsRootDir", "wheat")
run_stics(
"/home/username/bin/Stics", "/home/username/Work/SticsInputsRootDir",
c("wheat", "maize")
)
# running all usms
run_stics(
"/home/username/bin/Stics", "/home/username/Work/SticsInputsRootDir",
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.