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.
Arguments
- yr
unused. For consistency with
read_T_files().- yfiles
unused. For consistency with
read_T_files().- h5_files
character vector of names of E h5 files (e.g. "analysis-E-1999-06-00-000000-g01.h5")
- outdir
directory where ED2 output files are found
- start_date
Start time of the simulation
- end_date
End time of the simulation
- pfts
a named vector of PFT numbers where the names are PFT names
- settings
pecan settings object