This package is a collection of tools to work with the Maespa model.
Main functions:
readPAR
: read a parameter value from an input file into RreplacePAR
: replace a parameter value in an input filereplaceNameList
: replace an entire namelist, with a list of valuesparseFile
: read an entire input file into a nested listPlotStand
: plot the stand in 3D (requires the rgl
package)readdayflux
: read the daily output file into a dataframe (see also readwatbal
, readhrflux
)replacemetdata
: replace the met data with a dataframe of valuesrunmaespa
: a simple wrapper to run the model, read output into dataframesThe package is hosted on CRAN, so you can do
install.packages("Maeswrap")
or install the development version via:
devtools::install_github("RemkoDuursma/Maeswrap")
# Or if you don't have devtools:
remotes::install_github("RemkoDuursma/Maeswrap")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.