Skip to content

Commit

Permalink
Fix for setting global attributes in cmorizers (#3717)
Browse files Browse the repository at this point in the history
Co-authored-by: Valeriu Predoi <[email protected]>
  • Loading branch information
LisaBock and valeriupredoi authored Jul 17, 2024
1 parent cf6428b commit d0b7a93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion esmvaltool/cmorizers/data/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ def set_global_atts(cube, attrs):

# Additional attributes
glob_dict.update(attrs)
cube.attributes = glob_dict
cube.attributes.globals = glob_dict


def fix_bounds(cube, dim_coord):
Expand Down

0 comments on commit d0b7a93

Please sign in to comment.