@@ -60,35 +60,35 @@ class TestShiftGrid(TestCase):
60
60
61
61
def make_data_cyc (self ):
62
62
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 )
64
64
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 )
66
66
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 )
68
68
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 )
70
70
return loncyc , gridcyc , lonoutcyc , gridoutcyc
71
71
72
72
def make_data_nocyc (self ):
73
73
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 )
75
75
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 )
77
77
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 )
79
79
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 )
81
81
return lonnocyc , gridnocyc , lonoutnocyc , gridoutnocyc
82
82
83
83
def make_data_nocyc2 (self ):
84
84
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 )
86
86
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 )
88
88
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 )
90
90
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 )
92
92
return lonnocyc2 , gridnocyc2 , lonoutnocyc2 , gridoutnocyc2
93
93
94
94
def test_cyc (self ):
0 commit comments