

def test_reversed_lats(self):
    ds = Dataset(self.lat[::(- 1)], self.lon, self.time, self.value)
    np.testing.assert_array_equal(ds.lats, self.lat)

dataset/ETHPy150Open apache/climate/ocw/tests/test_dataset.py TestInvalidDatasetInit.test_reversed_lats/original