gordias.config.drop_global_attributes#
- gordias.config.drop_global_attributes(cubes: CubeList, attributes: list[str]) list[str]#
Drop global attributes for all cubes.
Given a list attributes containing the names of the attributes that should be dropped. A list is returned containing the set of removed attributes names and values.
- Parameters:
cubes (iris.cube.CubeList) – A list of cubes.
attributes (list[str]) – A list of string with global attribute names to drop.
- Returns:
A list of string containing the names and values of the removed global attributes.
- Return type: