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

Fix rasterMetrics bugs #267

Merged
merged 3 commits into from
Dec 30, 2023
Merged

Fix rasterMetrics bugs #267

merged 3 commits into from
Dec 30, 2023

Conversation

twelch
Copy link
Contributor

@twelch twelch commented Dec 30, 2023

Solves for a use case where Geoblaze throws if no valid pixels found overlapping with a polygon. Solution: initialize array of default values, one for each expected band in the raster.

Resolves a bug for sketch collection use case where individual sketch stats were overlaying the entire collection every time, not calculating stats for it's individual sketch. The result was every individual sketch had a metric value matching the collection level.

@twelch twelch merged commit f085ae8 into dev Dec 30, 2023
2 checks passed
@twelch twelch deleted the raster-stats-bugs branch December 30, 2023 20:06
twelch added a commit that referenced this pull request Jun 25, 2024
* fix rasterMetrics individual sketch bug

* update lockfiles

* bug: support case where geoblaze throws if no valid overlapping pixels found
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.

1 participant