Skip to content

Conversation

@erikvansebille
Copy link
Member

This PR adds an XNearest interpolator for spatial nearest neighbour interpolation on Xgrids. Note that it does a linear interpolation in time.

  • Chose the correct base branch (main for v3 changes, v4-dev for v4 changes)
  • Informs Interpolator API #2059
  • Added tests

@erikvansebille erikvansebille mentioned this pull request Aug 28, 2025
3 tasks
Copy link
Contributor

@VeckoTheGecko VeckoTheGecko left a comment

Choose a reason for hiding this comment

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

In this PR, are we also able to delete

  • tests/test_interpolation.py
  • most of parcels/_interpolation.py ("interpolation contexts" and registry etc.)

?

@erikvansebille
Copy link
Member Author

In this PR, are we also able to delete

  • most of parcels/_interpolation.py ("interpolation contexts" and registry etc.)

I propose we wait with that until all interpolation methods are ported. Removing redundant v3-interpolation files will come later in a separate PR

@erikvansebille erikvansebille merged commit 25fb9d0 into v4-dev Sep 1, 2025
9 checks passed
@erikvansebille erikvansebille deleted the nearest_interpolation branch September 1, 2025 09:45
@github-project-automation github-project-automation bot moved this from Backlog to Done in Parcels development Sep 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants