read_E_files.Rd
This function reads in monthly output (-E- .h5 files) from ED2, does unit
conversions, and returns a list to be passed to put_E_values()
. Cohort
level variables (i.e. those ending in "_CO") are often (always?) in
per-plant units rather than per area. This function converts them to per
area using the plant density and patch area before converting units to PEcAn
standards.
read_E_files(
yr,
yfiles,
h5_files,
outdir,
start_date,
end_date,
pfts,
settings = NULL
)
unused. For consistency with read_T_files()
.
unused. For consistency with read_T_files()
.
character vector of names of E h5 files (e.g. "analysis-E-1999-06-00-000000-g01.h5")
directory where ED2 output files are found
Start time of the simulation
End time of the simulation
a named vector of PFT numbers where the names are PFT names
pecan settings object
a list
if settings
is provided, then values for missing arguments
for start_date
, end_date
, and pfts
will be taken from it