@@ -225,7 +225,7 @@ def test_lookup_linke_turbidity_nointerp():
225225
226226def test_lookup_linke_turbidity_months ():
227227 times = pd .date_range (start = '2014-04-01' , end = '2014-07-01' ,
228- freq = '1ME ' , tz = 'America/Phoenix' )
228+ freq = '1MS ' , tz = 'America/Phoenix' )
229229 expected = pd .Series (
230230 np .array ([2.89918032787 , 2.97540983607 , 3.19672131148 ]), index = times
231231 )
@@ -235,7 +235,7 @@ def test_lookup_linke_turbidity_months():
235235
236236def test_lookup_linke_turbidity_months_leapyear ():
237237 times = pd .date_range (start = '2016-04-01' , end = '2016-07-01' ,
238- freq = '1ME ' , tz = 'America/Phoenix' )
238+ freq = '1MS ' , tz = 'America/Phoenix' )
239239 expected = pd .Series (
240240 np .array ([2.89918032787 , 2.97540983607 , 3.19672131148 ]), index = times
241241 )
@@ -245,14 +245,14 @@ def test_lookup_linke_turbidity_months_leapyear():
245245
246246def test_lookup_linke_turbidity_nointerp_months ():
247247 times = pd .date_range (start = '2014-04-10' , end = '2014-07-10' ,
248- freq = '1ME ' , tz = 'America/Phoenix' )
248+ freq = '1MS ' , tz = 'America/Phoenix' )
249249 expected = pd .Series (np .array ([2.85 , 2.95 , 3. ]), index = times )
250250 out = clearsky .lookup_linke_turbidity (times , 32.125 , - 110.875 ,
251251 interp_turbidity = False )
252252 assert_series_equal (expected , out )
253253 # changing the dates shouldn't matter if interp=False
254254 times = pd .date_range (start = '2014-04-05' , end = '2014-07-05' ,
255- freq = '1ME ' , tz = 'America/Phoenix' )
255+ freq = '1MS ' , tz = 'America/Phoenix' )
256256 out = clearsky .lookup_linke_turbidity (times , 32.125 , - 110.875 ,
257257 interp_turbidity = False )
258258 assert_series_equal (expected , out )
0 commit comments