satpy.plugin_base module

Classes and utilities for defining generic “plugin” components.

class satpy.plugin_base.Plugin(default_config_filename=None, config_files=None, **kwargs)[source]

Bases: object

Base plugin class for all dynamically loaded and configured objects.

Load configuration files related to this plugin.

This initializes a self.config dictionary that can be used to customize the subclass.

Parameters
  • default_config_filename (str) – Configuration filename to use if no other files have been specified with config_files.

  • config_files (list or str) – Configuration files to load instead of those automatically found in ppp_config_dir and other default configuration locations.

  • kwargs (dict) – Unused keyword arguments.

load_yaml_config(conf)[source]

Load a YAML configuration file and recursively update the overall configuration.