pysteps.load_config_file

pysteps.load_config_file#

pysteps.load_config_file(params_file=None, verbose=False, dryrun=False)#

Load the pysteps configuration file. The configuration parameters are available as a DotDictify instance in the pysteps.rcparams variable.

Parameters:
  • params_file (str) – Path to the parameters file to load. If params_file=None, it looks for a configuration file in the default locations.

  • verbose (bool) – Print debugging information. False by default. This flag is overwritten by the silent_import=False in the pysteps configuration file.

  • dryrun (bool) – If False, perform a dry run that does not update the pysteps.rcparams attribute.

Returns:

rcparams – Configuration parameters loaded from file.

Return type:

_DotDictify