run_ed: Start an ED2 model run using 'processx'

Description Usage Arguments Value Author(s)

View source: R/run-ed.R

Description

Start an ED2 model run using 'processx'

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
run_ed(
  casename,
  trait_values = list(),
  start_date = "1902-06-01",
  end_date = "1920-01-01",
  trait_plasticity = FALSE,
  multiple_scatter = FALSE,
  crown_model = FALSE,
  water_lim = TRUE,
  out_root = getOption("fortebaseline.ed_root"),
  ed_exe = fs::path(getOption("fortebaseline.ed_src_dir"), "ED", "build", "ed_2.1-opt"),
  ...
)

Arguments

casename

Name

trait_values

Named list of custom parameters

start_date, end_date

Run start and end dates. Default is 1902-06-01 to 1920-01-01.

trait_plasticity

Whether or not to enable the trait plasticity scheme (default = 'FALSE')

multiple_scatter

Whether or not to use the multiple-scattering canopy RTM. If 'FALSE' (default), use the two-stream RTM.

crown_model

Whether or not to use the finite canopy radius model (default = 'FALSE')

water_lim

Whether or not to run with water limitation to photosynthesis (default = 'TRUE').

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

'processx' process for ED2 run.

Author(s)

Alexey Shiklomanov


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