model2netcdf.ED2.RdModified from code to convert ED2's HDF5 output into the NACP Intercomparison format (ALMA using netCDF)
model2netcdf.ED2(
outdir,
sitelat,
sitelon,
start_date,
end_date,
pfts,
settings = NULL,
process_partial = FALSE
)Location of ED model output (e.g. a path to a single ensemble output)
Latitude of the site
Longitude of the site
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
should failed runs be processed? Defaults to FALSE.
TRUE will generate .nc files for runs that have generated some, but not
all, of the expected outputs
if settings is provided, then values for missing arguments
sitelat, sitelon, start_date, end_date, and pfts will be taken
from it