oggm.cfg.initialize

oggm.cfg.initialize(file=None, logging_level='INFO', params=None)[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.

Parameters:
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