gordias.config.join_global_attribute_values#
- gordias.config.join_global_attribute_values(cubes: CubeList, attr_names: list[str]) tuple[list[str], list[str]]#
Join attribute values between all cubes.
Given a list attr_names containing the names of the attributes which values should be joined between all cubes. Two lists are returned, the first containing joined global attributes and the second containing attributes that could not be found in all cubes.
- Parameters:
cubes (iris.cube.CubeList) – A list of cubes.
attr_names (list[str]) – A list of string containing global attribute names to join.
- Returns:
joined_attr_values (list[str]) – A list of string containing joined global attributes.
attributes_not_found (list[str]) – A list of string containing global attribute names that could not be found in all cubes.