diff --git a/test/test_grid.py b/test/test_grid.py index 10faba696..cac8eeb3b 100644 --- a/test/test_grid.py +++ b/test/test_grid.py @@ -951,9 +951,3 @@ def test_populate_bounds_GCA_mix(self): bounds_xarray = grid.bounds face_bounds = bounds_xarray.values nt.assert_allclose(grid.bounds.values, expected_bounds, atol=ERROR_TOLERANCE) - - def test_populate_bounds_MPAS(self): - xrds = xr.open_dataset(self.gridfile_mpas) - uxgrid = ux.Grid.from_dataset(xrds, use_dual=True) - bounds_xarray = uxgrid.bounds - pass diff --git a/uxarray/grid/geometry.py b/uxarray/grid/geometry.py index 885918bc1..c2ca1c7e4 100644 --- a/uxarray/grid/geometry.py +++ b/uxarray/grid/geometry.py @@ -1056,6 +1056,9 @@ def _populate_bounds( is_GCA_list=is_GCA_list, ) + if temp_latlon_array[face_idx][0][0] == temp_latlon_array[face_idx][0][1]: + pass + assert temp_latlon_array[face_idx][0][0] != temp_latlon_array[face_idx][0][1] assert temp_latlon_array[face_idx][1][0] != temp_latlon_array[face_idx][1][1] lat_array = temp_latlon_array[face_idx][0]