Skip to content

Commit

Permalink
cmip6 gfdl_cm4: fix tas height fix to work for concatenated scenarios (
Browse files Browse the repository at this point in the history
…#2332)

Co-authored-by: Martin Jury <[email protected]>
Co-authored-by: Valeriu Predoi <[email protected]>
  • Loading branch information
3 people authored Feb 16, 2024
1 parent 3f610e7 commit d936e4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion esmvalcore/cmor/_fixes/cmip6/gfdl_cm4.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def fix_metadata(self, cubes):
"""
cube = self.get_cube_from_list(cubes)
try:
cube.coord('height')
cube.coord('height').attributes.pop('description')
except iris.exceptions.CoordinateNotFoundError:
add_scalar_height_coord(cube, 2.0)
return cubes
Expand Down

0 comments on commit d936e4e

Please sign in to comment.