Parser Documentation

The eoldas_Parser Module

class eoldaslib.eoldas_Parser.Parser(args, name=None, general=None, log=False, logger=None, outdir='.', getopdir=False, parse=True)

Methods

default_loader()

Load up parser information for first pass

parse(args, log=False)

Given a list such as sys.argv (of that form) or an equivalent string parse the general and store in self.parser

parseLoader(loaders)

Utility to load a set of terms from the list loaders into the ParamStorage general

If there are 3 terms in each loaders element, they refer to: 1. name 2. default value 3. helper text If there is a fourth, it is associated with extras (short parser option)

sortnames()

Utility code to sort out some useful filenames & directories

eoldaslib.eoldas_Parser.demonstration()

Table Of Contents

Previous topic

Parameter Storage Documentation

Next topic

EOLDAS Solver Documentation

This Page