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
I found I can't get the standard SPEI name,but you can see the variable name is "xarray_dataarray_variable" and the window is 1. The variable name should be 'spei' as document reported and the window should be 6(not 1).
When I try to clip the SPEI dataset, I got the error:"NoDataInBounds: No data found in bounds. Data variable: xarray_dataarray_variable".
It seems the calculation for SPEI index work incorrectly. But I can't find What's wrong.
"NoDataInBounds: No data found in bounds. Data variable: __xarray_dataarray_variable__".
### Code of Conduct
- [X] I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
I'm not sure this errors comes from xclim. I think the "No data in found in bounds" error relates to your polygon data gdf not overlapping with the grid. If that's the case, that would be an issue for rioxarray. Your grid looks pretty good, so I suspect something's wrong with your gdf ?
The reason for your issue with the variable name and attributes is that you are calling the low-level compute functions1 instead of the "indicators". You can simply replace .indices. by .atmos. in your case:
Generic Issue
Description
This issue related to this post and this post.
I found I can't get the standard SPEI name,but you can see the variable name is "xarray_dataarray_variable" and the window is 1. The variable name should be 'spei' as document reported and the window should be 6(not 1).
When I try to clip the SPEI dataset, I got the error:"NoDataInBounds: No data found in bounds. Data variable: xarray_dataarray_variable".
It seems the calculation for SPEI index work incorrectly. But I can't find What's wrong.
What I Did
What I Received
The text was updated successfully, but these errors were encountered: