oggm.cfg.initialize

On this page

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

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

logging_levelstr

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

paramsdict

overrides for specific parameters from the config file