-
Notifications
You must be signed in to change notification settings - Fork 10
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
Compatibility with rasterio 1.4.0 #85
Comments
Temporary fix until xarray-contrib/xvec#85 is resolved ### What kind of change does this PR introduce? - pinned rasterio <=1.3.11
Hi @martinfleis, I encountered the same problem when doing zonal statistics for a binary DataArray. I found the problem is already solved in the source code by specifying the I suggest that instead of forcing a Also, I think it's better to set |
@coolzhao Could you turn these suggestions in a PR? I am aware this is suboptimal. |
@martinfleis Yes, I would be happy to help on this and will try to do a PR later. |
Some dtype changes in rasterio 1.4.0 broke zonal stats in certain occasions - see https://github.com/martinfleis/sds/actions/runs/11103109876/job/30844359444
The text was updated successfully, but these errors were encountered: