Learn R Programming

Maeswrap (version 1.4.11)

replaceNAMELIST: Replaces a namelist.

Description

Replaces the whole namelist in an input file. All parameters in the namelist must be provided, otherwise MAESTRA/MAESPA will likely crash.

Usage

replaceNAMELIST(namelist = NA, 
                datfile = NA, 
                vals = list())

Arguments

namelist
Name of the namelist.
datfile
Name of the input file.
vals
A list of values (see example below).

Value

  • Nothing is returned. The input file is modified.

References

See Belinda Medlyn's MAESTRA homepage at: http://www.bio.mq.edu.au/maestra/

See Also

replacePAR

Examples

Run this code
replaceNAMELIST(namelist="aerodyn", 
    datfile="trees.dat", vals=list(zht=30,zpd=3,z0ht=0.6))

Run the code above in your browser using DataLab