Code to convert FATES netcdf output into into CF standard

model2netcdf.FATES(
  outdir,
  sitelat,
  sitelon,
  start_date,
  end_date,
  vars_names,
  pfts
)

Arguments

outdir

Location of FATES 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, not string

end_date

End time of the simulation, not string

vars_names

Names of Selected variables in PEcAn format, (e.g. c("",""))

pfts

a named vector of PFT numbers where the names are PFT names

Author

Michael Dietze, Shawn Serbin

Examples

 
if (FALSE) { # \dontrun{
example.output <- system.file("case.clm2.h0.2004-01-01-00000.nc",package="PEcAn.FATES")
model2netcdf.FATES(outdir="~/",sitelat, sitelon, start_date, end_date, vars_names, pfts)
} # }