Skip to content

Commit

Permalink
pandas again...
Browse files Browse the repository at this point in the history
  • Loading branch information
mullenkamp committed Nov 6, 2024
1 parent c307c38 commit eafeca6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions eto/tests/test_eto.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@


def test_eto_fao_daily():
et1 = ETo(tsdata, 'd', z_msl, lat, lon, TZ_lon)
et1 = ETo(tsdata, 'D', z_msl, lat, lon, TZ_lon)
eto1 = et1.eto_fao().sum()
res1 = tsresults['ETo_FAO_mm'].sum()

assert eto1 == res1

et1 = ETo(tsdata, 'd', z_msl, lat, lon, TZ_lon)
et1 = ETo(tsdata, 'D', z_msl, lat, lon, TZ_lon)

def test_eto_har_daily():
eto2 = et1.eto_hargreaves().sum()
Expand All @@ -52,8 +52,8 @@ def test_eto_har_daily():

def test_eto_fao_hourly():
tsdata2 = et1.ts_param[['R_s', 'T_mean', 'e_a']]
tsdata3 = et1.tsreg(tsdata2, 'h', 'time')
et2 = ETo(tsdata3, 'h', z_msl, lat, lon, TZ_lon)
tsdata3 = et1.tsreg(tsdata2, 'H', 'time')
et2 = ETo(tsdata3, 'H', z_msl, lat, lon, TZ_lon)
eto3 = et2.eto_fao().sum()

res1 = tsresults['ETo_FAO_mm'].sum()
Expand Down

0 comments on commit eafeca6

Please sign in to comment.