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 interpn option of interp_points #554

Merged
merged 3 commits into from
Jun 1, 2024

Conversation

rhugonnet
Copy link
Contributor

An error had made its way through the test because the synthetic DEM coordinates started on (0,0)!

In practice this option of the algorithm was never used because the grid is almost always of equal resolution (Xres=Yres). As map_coordinates is faster, we could actually test if the interpolated results still match for different X/Y res, and remove interpn entirely if that is the case, but I'm not sure...

@rhugonnet rhugonnet changed the title Fix interpn solution for interp_points Fix interpn option of interp_points Jun 1, 2024
@rhugonnet rhugonnet merged commit 86bc449 into GlacioHack:main Jun 1, 2024
7 of 11 checks passed
@rhugonnet rhugonnet deleted the fix_interp_points_interpn branch June 1, 2024 02:03
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.

1 participant