setup_edr.Rd
Using an existing ED2IN file as a template, create a new ED2IN and history file configured for running EDR.
setup_edr(
ed2in,
output_dir,
datetime = ISOdatetime(ed2in[["IYEARA"]], ed2in[["IMONTHA"]], ed2in[["IDATEA"]], 12, 0,
0, tz = "UTC"),
...
)
ED2IN list object (see PEcAn.ED2::read_ed2in).
Directory in which run files will be stored
Date time object (or compliant string) at which to run EDR. Defaults to 12 noon on start date in ED2IN.
Additional arguments passed on to PEcAn.ED2::modify_ed2in
Path to EDR-configured ED2IN file.