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

Allowing boolean array in delayed_subsample #9

Merged

Conversation

ameliefroessl
Copy link

@ameliefroessl ameliefroessl commented May 21, 2024

This PR adds the capability of subsampling from boolean array inputs in delayed_subsample.

  • Adds feat: allowing boolean arrays,
  • Tests added,
  • Fully documented, including api/*.md for new API.

Copy link
Owner

@rhugonnet rhugonnet left a comment

Choose a reason for hiding this comment

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

Perfect! We'd just have to mention the behaviour for boolean arrays in the function description, and add a test that checks it returns exactly the same subsample for a boolean array matching a NaN array, then we can merge GlacioHack#537!

@ameliefroessl ameliefroessl marked this pull request as ready for review May 22, 2024 08:28
@ameliefroessl
Copy link
Author

Thanks for the feedback @rhugonnet! I've updated the tests and updated the docstrings to reflect the changes. Let me know if anything is missing otherwise feel free to merge 👍 😃

@rhugonnet rhugonnet merged commit 3fd3691 into rhugonnet:add_delayed_raster_functions May 22, 2024
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