nsidc.metgen.config

Provides functions for reading, parsing, and validating the application configuration values.

Functions

config_parser_factory(configuration_file)

Returns a ConfigParser by reading the specified file.

configuration(config_parser, overrides[, ...])

Returns a valid Config object that is populated from the provided config parser based on the 'environment', and with values overriden with anything provided in 'overrides'.

validate(configuration)

Validates each value in the configuration.

validate_spatial_source(configuration)

Classes

Config(environment, data_dir, auth_id, ...)

Exceptions

ValidationError(errors)