Title: | PEcAn package for integration of the LDNDC model |
---|---|
Description: | This module provides functions to link the (LDNDC) to PEcAn. |
Authors: | Henri Kajasilta [aut, cre] |
Maintainer: | Henri Kajasilta <[email protected]> |
License: | BSD_3_clause + file LICENSE |
Version: | 1.0.0.9000 |
Built: | 2025-03-11 02:35:28 UTC |
Source: | https://github.com/PecanProject/pecan |
Converts a met CF file to a model specific met file. The input files are calld <in.path>/<in.prefix>.YYYY.cf
met2model.LDNDC( in.path, in.prefix, outfolder, start_date, end_date, overwrite = FALSE, ... )
met2model.LDNDC( in.path, in.prefix, outfolder, start_date, end_date, overwrite = FALSE, ... )
in.path |
path on disk where CF file lives |
in.prefix |
prefix for each file |
outfolder |
location where model specific output is written. |
start_date |
start date of the results |
end_date |
end date of the results |
overwrite |
logical: replace output files if they already exist? |
... |
Other arguments |
invisible(results)
Henri Kajasilta
Convert LDNDC output into the NACP Intercomparison format (ALMA using netCDF)
model2netcdf.LDNDC( outdir, sitelat, sitelon, start_date, end_date, delete.raw = FALSE )
model2netcdf.LDNDC( outdir, sitelat, sitelon, start_date, end_date, delete.raw = FALSE )
outdir |
Location of 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 |
delete.raw |
TRUE if raw model results will be deleted |
Henri Kajasilta
Writes a LDNDC config file.
write.config.LDNDC(defaults, trait.values, settings, run.id)
write.config.LDNDC(defaults, trait.values, settings, run.id)
defaults |
list of defaults to process |
trait.values |
vector of samples for a given trait |
settings |
list of settings from pecan settings file |
run.id |
id of run |
Requires a pft xml object, a list of trait values for a single model run, and the name of the file to create
configuration file for LDNDC for given run
Henri Kajasilta