Title: | PEcAn Package for Integration of the DALEC Model |
---|---|
Description: | This module provides functions to link DALEC to PEcAn. |
Authors: | Mike Dietze, Tristain Quaife |
Maintainer: | Mike Dietze <[email protected]> |
License: | BSD_3_clause + file LICENSE |
Version: | 1.7.3.9000 |
Built: | 2025-03-11 02:30:47 UTC |
Source: | https://github.com/PecanProject/pecan |
met2model for DALEC
met2model.DALEC( in.path, in.prefix, outfolder, start_date, end_date, overwrite = FALSE, verbose = FALSE, spin_nyear = NULL, spin_nsample = NULL, spin_resample = NULL, ... )
met2model.DALEC( in.path, in.prefix, outfolder, start_date, end_date, overwrite = FALSE, verbose = FALSE, spin_nyear = NULL, spin_nsample = NULL, spin_resample = NULL, ... )
in.path |
location on disk where inputs are stored |
in.prefix |
prefix of input and output files |
outfolder |
location on disk where outputs will be stored |
start_date |
the start date of the data to be downloaded (will only use the year part of the date) |
end_date |
the end date of the data to be downloaded (will only use the year part of the date) |
overwrite |
should existing files be overwritten |
verbose |
should the function be very verbose |
spin_nyear , spin_nsample , spin_resample
|
passed on to 'PEcAn.data.atmosphere::spin.met()' |
... |
additional arguments, currently ignored |
Convert DALEC output to netCDF
model2netcdf.DALEC(outdir, sitelat, sitelon, start_date, end_date)
model2netcdf.DALEC(outdir, sitelat, sitelon, start_date, end_date)
outdir |
Location of DALEC 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 |
Converts all output contained in a folder to netCDF.
Shawn Serbin, Michael Dietze
Writes a configuration files for your model write Dalec Configuration files
write.config.DALEC(defaults, trait.values, settings, run.id)
write.config.DALEC(defaults, trait.values, settings, run.id)
defaults |
ignored |
trait.values |
vector of samples for a given trait |
settings |
a PEcAn settings object |
run.id |
Unique identifier for the run, used here to construct output directories and filenames. |
configuration files