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

Restoring nodata values in pollination #1459

Conversation

phargogh
Copy link
Member

@phargogh phargogh commented Dec 5, 2023

This fixes an issue that cropped up since 3.14.0, where nodata values weren't being properly set, and since pollination compared against very specific nodata values, the model outputs contained a lot of inf and nan. Looks like this was a regression introduced in #1437 ... I'm sorry I didn't catch it during my review!

Fixes #1458

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)

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.

Sorry for introducing that bug! Thanks for fixing it, @phargogh

@emlys
Copy link
Member

emlys commented Dec 6, 2023

The failing checks look to be unrelated.

@emlys emlys merged commit f7597fa into natcap:main Dec 6, 2023
23 of 25 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.

Pollination sample data outputs have lots of NaNs
2 participants