Package 'PEcAn.JULES'

Title: PEcAn Package for Integration of the JULES Model
Description: This module provides functions to link the (JULES) to PEcAn.
Authors: Mike Dietze [aut, cre], University of Illinois, NCSA [cph]
Maintainer: Mike Dietze <[email protected]>
License: BSD_3_clause + file LICENSE
Version: 1.7.3.9000
Built: 2024-12-17 17:30:38 UTC
Source: https://github.com/PecanProject/pecan

Help Index


Detect timestep of JULES met files

Description

Detect timestep of JULES met files

Usage

detect.timestep(met.dir, met.regexp, start_date)

Arguments

met.dir

path to directory containing met files

met.regexp

pattern to match to find a met file in met.dir. If more than one file matches, only the first will be used.

start_date

When in file to start checking deltas. Not used if timestep can be detected from the CDF header.

Value

a difftime object


Code to convert JULES output into netCDF format

Description

Convert MODEL output into the PEcAn standard

Usage

model2netcdf.JULES(outdir)

Arguments

outdir

Location of model output

Author(s)

Michael Dietze


Writes a JULES config file.

Description

Requires a pft xml object, a list of trait values for a single model run, and the name of the file to create

Usage

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

Arguments

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

Value

configuration file for JULES for given run

Author(s)

Mike Dietze, Rob Kooper

Examples

## Not run: 
  write.config.JULES(defaults, trait.values, settings, run.id)

## End(Not run)