Skip to content

ENH: Use exactextract by default for zonalstats calculation#181

Open
KriWay-LV wants to merge 32 commits intotheroggy:mainfrom
KriWay-LV:feature/exactextract-vs-pyqgis
Open

ENH: Use exactextract by default for zonalstats calculation#181
KriWay-LV wants to merge 32 commits intotheroggy:mainfrom
KriWay-LV:feature/exactextract-vs-pyqgis

Conversation

@KriWay-LV
Copy link
Collaborator

@KriWay-LV KriWay-LV commented Apr 10, 2025

PR changes the default for zonalstats calculation to "exactextract".

Exactextract has a lot more options regarding which (parts of) pixels are counted in the zonal statistics and which aren't. Based on some tests:

  • the negative buffer applied on the parcels was ???
  • the stats being calculated were changed to ???

@codecov
Copy link

codecov bot commented Apr 10, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 71.30%. Comparing base (a53c414) to head (abfc247).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #181      +/-   ##
==========================================
+ Coverage   70.84%   71.30%   +0.46%     
==========================================
  Files          37       38       +1     
  Lines        4863     4868       +5     
==========================================
+ Hits         3445     3471      +26     
+ Misses       1418     1397      -21     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@KriWay-LV KriWay-LV requested a review from theroggy May 7, 2025 11:33
@KriWay-LV KriWay-LV marked this pull request as draft May 9, 2025 08:26
@KriWay-LV KriWay-LV marked this pull request as ready for review May 12, 2025 14:36
@theroggy theroggy changed the title ENH: Use exactextract for zonalstats calculation ENH: Use exactextract by default for zonalstats calculation May 12, 2025
Copy link
Owner

@theroggy theroggy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Already some first small remarks while waiting on the performance/result tests being done...

@KriWay-LV KriWay-LV requested a review from theroggy May 13, 2025 05:50
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