Package 'PEcAn.MAESPA'

Title: PEcAn Functions Used for Ecological Forecasts and Reanalysis using MAESPA
Description: The Predictive Ecosystem Carbon Analyzer (PEcAn) is a scientific workflow management tool that is designed to simplify the management of model parameterization, execution, and analysis. The goal of PECAn is to streamline the interaction between data and models, and to improve the efficacy of scientific investigation.This package allows for MAESPA to be run through the PEcAN workflow.
Authors: Tony Gardella [aut, cre], University of Illinois, NCSA [cph]
Maintainer: Tony Gardella <[email protected]>
License: BSD_3_clause + file LICENSE
Version: 1.7.3.9000
Built: 2024-12-17 17:33:40 UTC
Source: https://github.com/PecanProject/pecan

Help Index


met2model.MAESPA

Description

met2model wrapper for MAESPA

Usage

met2model.MAESPA(
  in.path,
  in.prefix,
  outfolder,
  start_date,
  end_date,
  overwrite = FALSE,
  verbose = FALSE,
  ...
)

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

...

further arguments, currently ignored

Author(s)

Tony Gardella


Code to convert MAESPA's output into netCDF format

Description

Convert MAESPA output into the NACP Intercomparison format (ALMA using netCDF)

Usage

model2netcdf.MAESPA(
  outdir,
  sitelat,
  sitelon,
  start_date,
  end_date,
  stem_density
)

Arguments

outdir

Location of MAESPA 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

stem_density

Number of trees/plotsize. Values in trees.dat

Author(s)

Tony Gardella


Write MAESPA configuration files

Description

Writes a config file for Maespa

Usage

write.config.MAESPA(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

Details

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

Value

configuration file for MAESPA for given run

Author(s)

Tony Gardella