gordias.config.configure_global_attributes_output#
- gordias.config.configure_global_attributes_output(cubes: Cube | CubeList, config: dict[str, GlobalAttributesConfiguration] | None = None) None#
Apply the output configuration of the global attributes to all cubes.
If no configuration object for the output global attributes is given, no changes will be made to the cubes. The extra_attribues in the
GlobalAttributesConfigurationcan be used to store extra attributes that are created during runtime.- Parameters:
cubes (iris.cube.Cube or iris.cube.CubeList) – A single cube or a list of cubes.
config (dict[str, GlobalAttributesConfiguration] or None, optional) – A dictionary containing a
GlobalAttributesConfigurationobject.