Code to convert ED2's -T- HDF5 output into netCDF format
Source:R/model2netcdf.ED2.R
model2netcdf.ED2.RdModified from code to convert ED2's HDF5 output into the NACP Intercomparison format (ALMA using netCDF)
Usage
model2netcdf.ED2(
outdir,
sitelat,
sitelon,
start_date,
end_date,
pfts,
settings = NULL,
process_partial = FALSE
)Arguments
- outdir
Location of ED model output (e.g. a path to a single ensemble output)
- sitelat
Latitude of the site
- sitelon
Longitude of the site
- 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
- process_partial
should failed runs be processed? Defaults to
FALSE.TRUEwill generate .nc files for runs that have generated some, but not all, of the expected outputs