Modified from Code to convert ED2.1's HDF5 output into the NACP Intercomparison format (ALMA using netCDF)

model2netcdf.ED2(outdir, sitelat, sitelon, start_date, end_date,
  pft_names = NULL)

Arguments

outdir

Location of ED model 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

pft_names

Names of PFTs used in the run, vector