-
Notifications
You must be signed in to change notification settings - Fork 8
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
Use vectorized selection for rioxarray #14
Comments
I merged this PR, thank you. I have two questions:
|
@kadyb @spatialthoughts rasterio got a lot faster in 1.3.0 (see rasterio/rasterio#2338) and is even more fast when points are sorted. I haven't compared it to rioxarray. |
@kadyb Responses below
|
I just updated the benchmark. The change for |
Hi,
I came across this benchmark while comparing rasterstats and rioxarray. Looking into the rioxarray/extract_points.py, I found that it is using iteration instead of much faster vectorized selection. This results in 1000x speedup.
I have opened a PR that shows this improvement. Would be good to test and merge.
#13
The text was updated successfully, but these errors were encountered: