Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenworsley committed Aug 31, 2023
1 parent 976a61c commit 085d1c6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions esmf_regrid/schemes.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,8 @@ def _cube_to_GridInfo(cube, center=False, resolution=None, mask=None):
lat_bound_array = _contiguous_masked(lat.bounds, mask)
# 2D coords must be AuxCoords, which do not have a circular attribute.
circular = False
lon_points = lon.points
lat_points = lat.points
if crs is None:
lon_bound_array = lon.units.convert(lon_bound_array, Unit("degrees"))
lat_bound_array = lat.units.convert(lat_bound_array, Unit("degrees"))
Expand Down

0 comments on commit 085d1c6

Please sign in to comment.