Skip to content
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

Cell indices got reversed for point queries #23

Merged
merged 1 commit into from
Nov 23, 2021

Conversation

bocinsky
Copy link
Contributor

Pixel extraction was returning an incorrect time series. The rasterio Dataset.index() function returns row and column indices, in that order, but the Window function expects column and row indices. Line 86 had them reversed.

Pixel extraction was returning an incorrect time series. The rasterio Dataset.index() function returns row and column indices, in that order, but the Window function expects column and row indices. Line 86 had them reversed.
@alee
Copy link
Member

alee commented Nov 23, 2021

Thanks for catching this Kyle! 🙏

We should create a test for this at some point #24

@alee alee merged commit 0d67b07 into main Nov 23, 2021
@alee alee deleted the bocinsky-patch-point-extraction branch December 15, 2021 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants