@@ -60,35 +60,35 @@ class TestShiftGrid(TestCase):
6060
6161 def make_data_cyc (self ):
6262 loncyc = np .array ([0 , 30 , 60 , 90 , 120 , 150 , 180 , 210 , 240 , 270 , 300 ,\
63- 330 , 360 ],dtype = np .float )
63+ 330 , 360 ],dtype = np .float64 )
6464 gridcyc = np .array ([[0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 10 ,\
65- 11 , 0 ]],dtype = np .float )
65+ 11 , 0 ]],dtype = np .float64 )
6666 lonoutcyc = np .array ([- 180 , - 150 , - 120 , - 90 , - 60 , - 30 , 0 , 30 ,60 ,90 ,\
67- 120 , 150 , 180 ],dtype = np .float )
67+ 120 , 150 , 180 ],dtype = np .float64 )
6868 gridoutcyc = np .array ([[ 6 , 7 , 8 , 9 , 10 , 11 , 0 , 1 , 2 ,3 ,\
69- 4 , 5 , 6 ]],dtype = np .float )
69+ 4 , 5 , 6 ]],dtype = np .float64 )
7070 return loncyc , gridcyc , lonoutcyc , gridoutcyc
7171
7272 def make_data_nocyc (self ):
7373 lonnocyc = np .array ([0 , 30 , 60 , 90 , 120 , 150 , 180 , 210 , 240 , 270 ,\
74- 300 , 330 ],dtype = np .float )
74+ 300 , 330 ],dtype = np .float64 )
7575 gridnocyc = np .array ([[0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 ,\
76- 10 , 11 ]],dtype = np .float )
76+ 10 , 11 ]],dtype = np .float64 )
7777 lonoutnocyc = np .array ([- 180 , - 150 , - 120 , - 90 , - 60 , - 30 , 0 , 30 , 60 ,\
78- 90 , 120 , 150 ],dtype = np .float )
78+ 90 , 120 , 150 ],dtype = np .float64 )
7979 gridoutnocyc = np .array ([[ 6 , 7 , 8 , 9 , 10 , 11 , 0 , 1 , 2 ,\
80- 3 , 4 , 5 ]],dtype = np .float )
80+ 3 , 4 , 5 ]],dtype = np .float64 )
8181 return lonnocyc , gridnocyc , lonoutnocyc , gridoutnocyc
8282
8383 def make_data_nocyc2 (self ):
8484 lonnocyc2 = np .array ([15 , 45 , 75 , 105 , 135 , 165 , 195 , 225 , 255 , 285 ,\
85- 315 , 345 ],dtype = np .float )
85+ 315 , 345 ],dtype = np .float64 )
8686 gridnocyc2 = np .array ([[0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 ,\
87- 10 , 11 ]],dtype = np .float )
87+ 10 , 11 ]],dtype = np .float64 )
8888 lonoutnocyc2 = np .array ([- 165 , - 135 , - 105 , - 75 , - 45 , - 15 , 15 ,45 ,75 ,\
89- 105 , 135 , 165 ],dtype = np .float )
89+ 105 , 135 , 165 ],dtype = np .float64 )
9090 gridoutnocyc2 = np .array ([[ 6 , 7 , 8 , 9 , 10 , 11 , 0 , 1 , 2 ,\
91- 3 , 4 , 5 ]],dtype = np .float )
91+ 3 , 4 , 5 ]],dtype = np .float64 )
9292 return lonnocyc2 , gridnocyc2 , lonoutnocyc2 , gridoutnocyc2
9393
9494 def test_cyc (self ):
0 commit comments