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 a quickflow summation bug in SWY #1550

Merged
merged 4 commits into from
May 21, 2024

Conversation

dcdenu4
Copy link
Member

@dcdenu4 dcdenu4 commented Apr 3, 2024

Description

Fix a pixelwise sum op for QF. It was summing up whole blocks as opposed to doing a pixelwise sum. Remove unneeded task dependency.

I didn't add a test for this because SWY doesn't really have any regression testing for the raster outputs. It instead tests against the aggregated vector results. This seems like a larger issue which I created an issue for in #1549 .

Fixes #1541

Checklist

  • Updated HISTORY.rst and link to any relevant issue (if these changes are user-facing)
  • Updated the user's guide (if needed)
  • Tested the Workbench UI (if relevant)

@dcdenu4 dcdenu4 changed the title I. #1541 Fix a quickflow summation bug in SWY Apr 3, 2024
@dcdenu4 dcdenu4 requested a review from emlys April 3, 2024 02:44
Copy link
Member

@emlys emlys left a comment

Choose a reason for hiding this comment

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

Thanks @dcdenu4! I must have introduced that bug when I added raster_map. Sorry about that!

@emlys emlys merged commit c9a708c into natcap:main May 21, 2024
29 checks passed
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.

SWY QFi sum is producing coarse results with unexpected value ranges
2 participants