Skip to content

Conversation

seisman
Copy link
Member

@seisman seisman commented Sep 20, 2025

Migrate the 'hole' parameter and add a test to ensure that both hole and no_data (deprecated) work as expected.

@seisman seisman added this to the 0.17.0 milestone Sep 20, 2025
@seisman seisman added maintenance Boring but important stuff for the core devs skip-changelog Skip adding Pull Request to changelog needs review This PR has higher priority and needs review. labels Sep 20, 2025

def test_grdfill_hole(grid, expected_grid):
"""
Test grdfill with different hole values.
Copy link
Member

Choose a reason for hiding this comment

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

Hm. I am not sure if I understand what you mean with "different" here. As far as I know, there could be only one value used to define the nodes considered as holes at a time. Maybe "different" refers to the fact that the value for nodes considered as holes is set to a new value in this test?

Copy link
Member Author

Choose a reason for hiding this comment

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

I've rephrased it to "Test grdfill with a custom value (not NaN) as holes."

Co-authored-by: Yvonne Fröhlich <[email protected]>
@seisman seisman removed the needs review This PR has higher priority and needs review. label Sep 23, 2025
@seisman seisman merged commit f1328ca into main Sep 23, 2025
23 of 24 checks passed
@seisman seisman deleted the grdfill/hole branch September 23, 2025 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Boring but important stuff for the core devs skip-changelog Skip adding Pull Request to changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants