Learn R Programming

Maeswrap (version 1.7)

Wrapper Functions for MAESTRA/MAESPA

Description

A bundle of functions for modifying MAESTRA/MAESPA input files,reading output files, and visualizing the stand in 3D. Handy for running sensitivity analyses, scenario analyses, etc.

Copy Link

Version

Install

install.packages('Maeswrap')

Monthly Downloads

159

Version

1.7

License

GPL

Maintainer

Last Published

June 30th, 2015

Functions in Maeswrap (1.7)

Maeswrap-package

Bundle of functions for modifying MAESTRA/MAESPA input files, and reading output files.
checkwatbal

Checks MAESPA water balance by adding up fluxes for the soil water balance calculated by MAESPA. Prints the total fluxes (precipitation, transpiration, canopy interception, and so on), and the difference between ingoing and outgoing. This is a debugging/checking tool: if the model has serious problems, there will be a missing sink or source.
readhrflux

Reads the hrflux.dat MAESTRA/MAESPA output file
maesparunall

Functions for MAESPA batch runs
runfiletest

Example Maeswrap run datafile.
maeswrapdefinitions

Example Maeswrap definition file
plotuspar

Plot the understorey PAR points
Plotstand

Plot the stand in 3D
parseFile

Parse an input file
randomstand

Generate a simple random stand of trees
replaceNameList

Replaces a namelist or a parameter
readwatbal

Reads the watbal.dat MAESPA output file
readNameList

Read a namelist into a list
replacemetdata

Replace a weather variable
revchar

Reverse a character string.
readdayflux

Reads the dayflx.dat output file
readmet

Reads the met.dat input file