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

Extrapolate using nearest neighbour in interp_nd_binning #389

Merged
merged 4 commits into from
Aug 1, 2023

Conversation

rhugonnet
Copy link
Contributor

@rhugonnet rhugonnet commented Aug 1, 2023

Resolves #380

The extrapolation is always done using "nearest", and interpolation is "linear" by default.
The workflow is a bit complex in order to deal with nodata in the grid, see comments in the code.

Added tests to ensure all works as intended.

@rhugonnet rhugonnet requested a review from adehecq August 1, 2023 00:16
@rhugonnet rhugonnet merged commit db5e57b into GlacioHack:main Aug 1, 2023
11 checks passed
@rhugonnet rhugonnet deleted the default_interpnd branch August 1, 2023 20:42
@adehecq
Copy link
Member

adehecq commented Aug 8, 2023

Great, thanks ! 🎉

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.

Negative values predicted by interp_nd_binning problematic for error analysis
2 participants