Skip to content

Commit

Permalink
Merge pull request #1024 from MetOffice/1023_lfric_normalise_name_att…
Browse files Browse the repository at this point in the history
…ribute

Remove unneeded `name` global attribute
  • Loading branch information
ukmo-huw-lewis authored Jan 8, 2025
2 parents 0e5aee4 + d1d647e commit 1530269
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CSET/operators/read.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ def _lfric_normalise_callback(cube: iris.cube.Cube, field, filename):
# Remove unwanted attributes.
cube.attributes.pop("timeStamp", None)
cube.attributes.pop("uuid", None)
# There might also be a "name" attribute to ditch, which is the filename.
cube.attributes.pop("name", None)

# Sort STASH code list.
stash_list = cube.attributes.get("um_stash_source")
Expand Down

0 comments on commit 1530269

Please sign in to comment.