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