satpy.composites.config_loader module

Classes for loading compositor and modifier configuration files.

satpy.composites.config_loader.all_composite_sensors()[source]

Get all sensor names from available composite configs.

satpy.composites.config_loader.load_compositor_configs_for_sensor(sensor_name: str) tuple[dict[str, dict], dict[str, dict], dict][source]

Load compositor, modifier, and DataID key information from configuration files for the specified sensor.

Parameters:

sensor_name – Sensor name that has matching sensor_name.yaml config files.

Returns:

Where comps is a dictionary:

composite ID -> compositor object

And mods is a dictionary:

modifier name -> (modifier class, modifiers options)

Add data_id_keys is a dictionary:

DataID key -> key properties

Return type:

(comps, mods, data_id_keys)

satpy.composites.config_loader.load_compositor_configs_for_sensors(sensor_names: Iterable[str]) tuple[dict[str, dict], dict[str, dict]][source]

Load compositor and modifier configuration files for the specified sensors.

Parameters:

sensor_names (list of strings) – Sensor names that have matching sensor_name.yaml config files.

Returns:

Where comps is a dictionary:

sensor_name -> composite ID -> compositor object

And mods is a dictionary:

sensor_name -> modifier name -> (modifier class, modifiers options)

Return type:

(comps, mods)