parseFile: Parse an input file

Description Usage Arguments Value See Also Examples

Description

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.

Usage

1

Arguments

fn

Filename

Value

Returns a named list, each element contains a namelist and its parameters.

See Also

To read one namelist from a file, see readNameList.

Examples

1
2
3
4
5
6
7
8
## Not run: 
# Parse a file
con <- parseFile("confile.dat")

# Namelists in the file
names(con)

## End(Not run)

Maeswrap documentation built on May 2, 2019, 7:58 a.m.