run_ed_maybe: Run ED2, but only if there isn't a run there already

Description Usage Arguments Value

View source: R/run-ed.R

Description

Run ED2, but only if there isn't a run there already

Usage

1
2
3
4
5
6
run_ed_maybe(
  casename,
  overwrite = FALSE,
  out_root = getOption("fortebaseline.ed_root"),
  ...
)

Arguments

casename

Name

overwrite

(Logical) If 'TRUE', delete the target output directory and force a run.

out_root

Path to ED2 output root directory. Default is the option 'fortebaseline.ed_root', and if unset, "ed2-output" in the project root directory.

...

Additional ED2IN namelist settings. Must be in all caps, and must match settings in ED2IN.

Value

List containing the output directory ('outdir'), the 'processx::process' object ('p'), and a function for checking the current log status ('log').


ashiklom/fortebaseline documentation built on May 9, 2020, 1:56 a.m.