oggm.cfg.initialize(file=None, logging_level='INFO', params=None, future=False)[source]

Read the configuration file containing the run’s parameters.

This should be the first call, before using any of the other OGGM modules for most (all?) OGGM simulations.

file : str

path to the configuration file (default: OGGM params.cfg)

logging_level : str

set a logging level. See set_logging_config() for options.

params : dict

overrides for specific parameters from the config file

future : bool

use the new behavior of logging=’WORKFLOW’.