-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove 'shape' as argument from 'extraterrestrial_r' method in meter_utils.py #64
Comments
Is implemented with 1.3 |
When I upgraded from v1.2.2 to 1.3.1, my code stopped working (I use dataarrays). There seems to be some sort of latitude issue |
Hi @rodaguayo, Thank you for posting this issue! Could you please provide a bit more detail about what you mean by "code stopped working"? Are all of the methods affected, or only specific ones? I noticed you're working with the Patagonia dataset—glad to see that PyEt has been helpful there! I will do my best to solve this issue today. Best, |
Hi, thanks for the quick reply! My workflow is very simple, similar to this tutorial (https://pyet.readthedocs.io/en/latest/examples/09_CMIP6_data.html), with the exception I am using the hargreaves formulation. The error that I recieved is Thanks for your time, and for the very helpful package you have developed =) Best, |
HI @rodaguayo, A quick fix for now is to expand the dimension of the latitude array using: I'll fix this in the upcoming pull request and also add a test to ensure PyEt properly handles both 1D and 2D latitude arrays in future releases. #78 Let me know if this solves your issue. |
Hi @mvremec, Thanks for this. I imagine something like this could have happened. Best, |
Looks like this is a useless argument that could and should be inferred from the data. So I propose to remove it from the argument list.
The text was updated successfully, but these errors were encountered: