gordias.config.configure_global_attributes_input#
- gordias.config.configure_global_attributes_input(cubes: Cube | CubeList, config: dict[str, GlobalAttributesConfiguration] | None = None) None#
Apply the input configuration of the global attributes to all cubes.
By default, equalizes all attributes by removing the attributes that are not equal between all cubes. A configuration can be used to specify how the global attributes should be transferred to the output cube.
- Parameters:
cubes (iris.cube.Cube or iris.cube.CubeList) – A single cube or a list of cubes.
config (dict[GlobalAttributesConfiguration]) – A dictionary containing a
GlobalAttributesConfigurationobject.