Skip to content

Commit

Permalink
Call coord.core_bounds() instead of coord.bounds in check.py (#2146)
Browse files Browse the repository at this point in the history
  • Loading branch information
sloosvel authored Sep 21, 2023
1 parent bb9f413 commit 09e20d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions esmvalcore/cmor/check.py
Original file line number Diff line number Diff line change
Expand Up @@ -773,8 +773,8 @@ def _check_coord_points(self, coord_info, coord, var_name):
else:
new_lons = coord.core_points().copy()
new_lons = self._set_range_in_0_360(new_lons)
if coord.bounds is not None:
new_bounds = coord.bounds.copy()
if coord.core_bounds() is not None:
new_bounds = coord.core_bounds().copy()
new_bounds = self._set_range_in_0_360(new_bounds)
else:
new_bounds = None
Expand Down

0 comments on commit 09e20d4

Please sign in to comment.