gordias.config.default_configuration#
- gordias.config.default_configuration(cubes: CubeList, config: GlobalAttributesInputConfiguration) list[str]#
Apply the default configuration to all cubes.
The default configuration can either drop all attributes that are not present in the transfer configuration or equalize the attributes between cubes. A list is returned containing the set of removed attributes names and values.
- Parameters:
cubes (iris.cube.CubeList) – A list of cubes.
config (GlobalAttributesInputConfiguration) – A
GlobalAttributesInputConfigurationobject containing the input configuration for the global attributes.
- Returns:
A list of string containing the names and values of the removed global attributes.
- Return type: