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 thergl
package)readdayflux
: read the daily output file into a dataframe (see alsoreadwatbal
,readhrflux
)replacemetdata
: replace the met data with a dataframe of valuesrunmaespa
: a simple wrapper to run the model, read output into dataframes
The 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")