palmmeteo.config(3)

NAME
palmmeteo.config

SYNOPSIS

  Classes
class ConfigError
class ConfigObj

  Functions
parse_duration (section, item, value=None)
load_config (argv)

  Variables
dict duration_units
cfg = ConfigObj()

Function Documentation

  palmmeteo.config.load_config ( argv)

Loads all configuration.
Configuration is loaded in this order:
1) initial configuration values
2) configfile
3) command-line options
Each step may overwrite values from previous steps.

  palmmeteo.config.parse_duration ( section, item, value = None)

Variable Documentation

  palmmeteo.config.cfg = ConfigObj()

  dict palmmeteo.config.duration_units
Initial value:.PP
1 =  {
2         'd': 'days',
3         'h': 'hours',
4         'm': 'minutes',
5         's': 'seconds',
6         }

Author

Generated automatically by Doxygen for PALM-meteo from the source code.