You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to calculated daily PET with Hargreaves throws a “ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()” error.
I expect it is from the shape test:
if daily_tmin_celsius.size != daily_tmax_celsius != daily_tmean_celsius:
This should likely be:
if daily_tmin_celsius.size != daily_tmax_celsius.size != daily_tmean_celsius.size:
The text was updated successfully, but these errors were encountered:
Trying to calculated daily PET with Hargreaves throws a “ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()” error.
I expect it is from the shape test:
if daily_tmin_celsius.size != daily_tmax_celsius != daily_tmean_celsius:
This should likely be:
if daily_tmin_celsius.size != daily_tmax_celsius.size != daily_tmean_celsius.size:
The text was updated successfully, but these errors were encountered: