diff --git a/esmf_regrid/schemes.py b/esmf_regrid/schemes.py index a9c2528e..58eb6939 100644 --- a/esmf_regrid/schemes.py +++ b/esmf_regrid/schemes.py @@ -191,10 +191,11 @@ 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_bound_array = lon.units.convert(lon_bound_array, Unit("degrees")) - lat_bound_array = lat.units.convert(lat_bound_array, Unit("degrees")) - lon_points = lon.units.convert(lon.points, Unit("degrees")) - lat_points = lon.units.convert(lat.points, Unit("degrees")) + 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")) + lon_points = lon.units.convert(lon.points, Unit("degrees")) + lat_points = lon.units.convert(lat.points, Unit("degrees")) if resolution is None: grid_info = GridInfo( lon_points,