Skip to content

Commit

Permalink
fix 2
Browse files Browse the repository at this point in the history
  • Loading branch information
mullenkamp committed Nov 6, 2024
1 parent 42b38c4 commit b57410d
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions eto/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,7 @@ def __init__(self, df=None, freq='D', z_msl=None, lat=None, lon=None, TZ_lon=Non
if df is None:
pass
else:
param_est(self, df, freq, z_msl, lat, lon, TZ_lon, z_u, K_rs, a_s, b_s, alb)

### Add in the ETo methods and other functions
self.param_est = param_est
self.eto_fao = eto_fao
self.eto_hargreaves = hargreaves
self.copy = copy
self.param_est(df, freq, z_msl, lat, lon, TZ_lon, z_u, K_rs, a_s, b_s, alb)


@staticmethod
Expand Down Expand Up @@ -65,4 +59,8 @@ def tsreg(ts, freq=None, interp=False, maxgap=None):
return ts1



### Add in the ETo methods and other functions
ETo.param_est = param_est
ETo.eto_fao = eto_fao
ETo.eto_hargreaves = hargreaves
ETo.copy = copy

0 comments on commit b57410d

Please sign in to comment.