예제 #1
0
 def test_is_geographic_2d(self):
     self.assertTrue(
         is_geographic(Dataset(self.cube, kdims=['longitude', 'latitude']),
                       ['longitude', 'latitude']))
예제 #2
0
 def test_is_geographic_1d(self):
     self.assertFalse(is_geographic(Dataset(self.cube), ['longitude']))
예제 #3
0
 def test_is_geographic_2d(self):
     self.assertTrue(is_geographic(Dataset(self.cube, kdims=['longitude', 'latitude']), ['longitude', 'latitude']))
예제 #4
0
 def test_is_geographic_1d(self):
     self.assertFalse(is_geographic(Dataset(self.cube), ['longitude']))