Package 'PEcAn.DALEC'

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

Help Index


met2model.DALEC

Description

met2model for DALEC

Usage

met2model.DALEC(
  in.path,
  in.prefix,
  outfolder,
  start_date,
  end_date,
  overwrite = FALSE,
  verbose = FALSE,
  spin_nyear = NULL,
  spin_nsample = NULL,
  spin_resample = NULL,
  ...
)

Arguments

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


Function to convert DALEC model output to standard netCDF format

Description

Convert DALEC output to netCDF

Usage

model2netcdf.DALEC(outdir, sitelat, sitelon, start_date, end_date)

Arguments

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

Details

Converts all output contained in a folder to netCDF.

Author(s)

Shawn Serbin, Michael Dietze


write.config.DALEC

Description

Writes a configuration files for your model write Dalec Configuration files

Usage

write.config.DALEC(defaults, trait.values, settings, run.id)

Arguments

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.

Value

configuration files