load_config

swxsoc.util.config.load_config()[source]

Load and read the configuration file.

If a configuration file does not exist in the user’s home directory, it will read in the defaults from the package’s data directory.

The selected mission can be overridden by setting the SWXSOC_MISSION environment variable. This environment variable will take precedence over the mission specified in the configuration file.

Returns:

dict: The loaded configuration data.