Beispiel #1
0
 def test_180(self):
     self.assertEqual(qc.xindex_to_lon(180, 1), 0.5)
Beispiel #2
0
 def test_359(self):
     self.assertEqual(qc.xindex_to_lon(359, 1), 179.5)
Beispiel #3
0
 def test_179(self):
     self.assertEqual(qc.xindex_to_lon(179, 1), -0.5)
Beispiel #4
0
 def test_0(self):
     self.assertEqual(qc.xindex_to_lon(0, 1), -179.5)