Takes an input file for MAESTRA/MAESPA, and reads all namelists into a nested list. Also reads the first line of the file, which (optionally) contains a title, to be used in Maestra/pa output files.
● Data Source:
CranContrib
● Keywords:
● Alias: parseFile
●
0 images
|
readhrflux
(Package: Maeswrap) :
Reads the hrflux.dat MAESTRA/MAESPA output file
Reads the hourly output file (hrflux.dat).
● Data Source:
CranContrib
● Keywords: utilities
● Alias: readhrflux
●
0 images
|
Plotstand
(Package: Maeswrap) :
Plot the stand in 3D
Reads the MAESTRA trees file, and plots the stand in 3D. Supports all MAESTRA crown shapes except the box shape. Looks for the 'trees.dat' file in the current working directory, unless specified (see Examples). The XY coordinates *must be present* in the 'trees.dat' file. Users will typically only use the 'Plotstand' function.
● Data Source:
CranContrib
● Keywords:
● Alias: Plotstand, plottree
●
0 images
|
readmet
(Package: Maeswrap) :
Reads the met.dat input file
Reads the meteorological input data in the met.dat file.
● Data Source:
CranContrib
● Keywords: utilities
● Alias: readmet
●
0 images
|
readdayflux
(Package: Maeswrap) :
Reads the dayflx.dat output file
Reads the dayflx.dat MAESTRA/MAESPA output file, returns a clean dataframe. Names of the variables are read from the Columns: line.
● Data Source:
CranContrib
● Keywords: utilities
● Alias: readdayflux
●
0 images
|
checkwatbal
(Package: Maeswrap) :
Checks MAESPA water balance by adding up fluxes for the soil water balance calculated by MAESPA. Prints the
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.
● Data Source:
CranContrib
● Keywords: misc
● Alias: checkwatbal
●
0 images
|
readNameList
(Package: Maeswrap) :
Read a namelist into a list
Read a namelist into a list
● Data Source:
CranContrib
● Keywords: utilities
● Alias: readNameList, readPAR
●
0 images
|
readwatbal
(Package: Maeswrap) :
Reads the watbal.dat MAESPA output file
Reads the hourly water balance output file ("watbal.dat").
● Data Source:
CranContrib
● Keywords: utilities
● Alias: readwatbal
●
0 images
|
revchar
(Package: Maeswrap) :
Reverse a character string.
Reverses the characters in a character string, unless a vector is supplied, in which case reverses the element of the vector.
● Data Source:
CranContrib
● Keywords: methods
● Alias: revchar
●
0 images
|
replaceNameList
(Package: Maeswrap) :
Replaces a namelist or a parameter
The function replaceNameList replaces the whole namelist in an input file. All parameters in the namelist must be provided, otherwise MAESTRA/MAESPA will likely crash. Or, you can use replacePAR to replace a single parameter. If the new parameter value(s) is a vector (or a single value), the values #' will be placed on a single line in the parameter file. If instead a matrix is provided, each row of the matrix is placed on a separate line.
● Data Source:
CranContrib
● Keywords: utilities
● Alias: replaceNameList, replacePAR
●
0 images
|