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

Add KNeighbors class for nearest neighbor interpolation #378

Merged
merged 14 commits into from Oct 26, 2022
Merged

Conversation

leouieda
Copy link
Member

@leouieda leouieda commented Aug 26, 2022

Add a gridder for nearest neighbor interpolation. Allows choosing the number of neighbors and which reduction function to use when combining values (default is mean).

Based on initial work by @SAskevold, who was added to the Authors list and will be listed as a co-author on this PR when merged.

Relevant issues/PRs: Fixes #375

@leouieda leouieda added this to the 1.8.0 milestone Aug 26, 2022
@leouieda leouieda marked this pull request as draft August 26, 2022 16:11
@leouieda leouieda changed the title Starer code for near neighbor interpolation Add KNeighbors class for nearest neighbor interpolation Aug 26, 2022
@SAskevold
Copy link
Contributor

Thank you, sounds good to me.

My info for the authors.md is:

  1. Sarah Margrethe Askevold
  2. University of Liverpool
  3. 0000-0002-9434-3594

@leouieda leouieda marked this pull request as ready for review October 26, 2022 13:21
@leouieda leouieda merged commit e5675dd into main Oct 26, 2022
@leouieda leouieda deleted the neighbors branch October 26, 2022 13:41
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.

Create a KNeighbors gridder
2 participants