Description Usage Arguments Author(s)
This function provides a convenient way to call the ED radiative transfer module (EDR, which simulates full spectral return of an ED patch for a given point in time) directly from R.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | EDR(
img_path,
ed2in_path,
spectra_list,
trait.values,
soil_reflect_path = system.file("extdata", "soil_reflect_par.dat", package =
"PEcAnRTM"),
wood_reflect_path = system.file("extdata", "wood_reflect_par.dat", package =
"PEcAnRTM"),
par.wl = 400:2499,
nir.wl = 2500,
edr_exe_path = NULL,
output.path = dirname(normalizePath(ed2in_path, mustWork = TRUE)),
settings = list(model = list(revision = "git", config.header = NULL)),
singularity_args = list(),
clean = FALSE,
stderr = TRUE,
verbose_error = TRUE,
...
)
|
img_path |
Path to Singularity container (usually a |
ed2in_path |
Path to ED2IN file. |
spectra_list |
List of spectral data matrices. Names must exactly match
the PFTs given in |
trait.values |
Named, hierarchical list of trait values for generating
config.xml file. Names must be PFTs, and must exactly match names of
|
soil_reflect_path |
Path to soil reflectance file (defaults to spectra
in package |
wood_reflect_path |
Path to wood reflectance file (defaults to spectra
in package |
par.wl |
Vector of wavelengths defining PAR region |
nir.wl |
Vector of wavelengths defining NIR region |
edr_exe_path |
If |
output.path |
Directory in which to execute the run. Defaults to
|
settings |
PEcAn settings list. Default is |
singularity_args |
Additional arguments to be passed to |
clean |
Logical. If |
stderr |
Logical. If |
verbose_error |
Logical. If |
... |
Additional arguments to |
Alexey Shiklomanov
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.