Describe the bug
Calling pyet.jensen_haise() with method=1 gives TypeError: extraterrestrial_r() takes 2 positional arguments but 3 were given.
To Reproduce
Steps to reproduce the behavior:
- Call pyet.jensen_haise(), provide necessary variables tmean and lat, with method=1
- run the code
- See TypeError: extraterrestrial_r() takes 2 positional arguments but 3 were given
Expected behavior
Get a pandas.Series or xarray.DataArray containing the calculated potential evapotranspiration [mm d-1]
Screenshots
From file radiation.py:
Additional context
In file radiation.py on line 107, an additional variable is given in the function extraterrestrial_r() like so; extraterrestrial_r(index, lat, tmean). The variable tmean should be removed for the method to work properly.
Describe the bug
Calling pyet.jensen_haise() with method=1 gives TypeError: extraterrestrial_r() takes 2 positional arguments but 3 were given.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Get a pandas.Series or xarray.DataArray containing the calculated potential evapotranspiration [mm d-1]
Screenshots
From file radiation.py:
Additional context
In file radiation.py on line 107, an additional variable is given in the function extraterrestrial_r() like so; extraterrestrial_r(index, lat, tmean). The variable tmean should be removed for the method to work properly.