-
Notifications
You must be signed in to change notification settings - Fork 16
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 support for nearest neighbour regridding #213
Labels
New: Feature
Highlight a new community raised "feature request" issue
Comments
stephenworsley
added
the
New: Feature
Highlight a new community raised "feature request" issue
label
Sep 15, 2022
@SciTools-incubator/esmf-regrid-devs This issue is stale due to a lack of activity in the last 90 days. Remove stale label or comment, otherwise this issue will close automatically in 7 days time. |
github-actions
bot
added
the
Stale: Closure warning
This stale issue or pull-request has been marked for closure
label
Dec 30, 2022
@SciTools-incubator/esmf-regrid-devs This stale issue has been automatically closed due to no community activity |
github-actions
bot
added
the
Stale: Closed
This stale issue or pull-request has been closed due to no activity
label
Jan 6, 2023
stephenworsley
removed
Stale: Closure warning
This stale issue or pull-request has been marked for closure
Stale: Closed
This stale issue or pull-request has been closed due to no activity
labels
Apr 12, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
✨ Feature Request
Allow regridding using the
NEAREST_STOD
ESMF method.Details
Masking
There multiple ways masking could be handled by such a regridder. Points could either be mapped to from the nearest unmasked source point, or else points whos nearest source is masked could become masked. For the time being, we are likely to opt for the latter since this should be simpler to implement with the current architecture. An option to use the other kind of masking behaviour could be added in future.
Source/Target
Another aspect of nearest neighbour regridding worth highlighting is the types of objects that can represent the source/target. While
Conservative
andBilinear
both require either Grids or Meshes, nearest neighbour can also take just a series of points as its source/target. This could be represented in Iris as a pair of 1D AuxCoords. This can be represented in ESMF as aLocStream
. For the time being, it should be sufficient to simply match the level of support thatConservative
andBilinear
have and add support for descriptions as series of points later.Efficiency
Since the calculations of
NEAREST_STOD
regridding are simple, it should be possible to design a more efficient method for performing regridding calculations by using indexing rather than matrix multiplication. This is not necessary for a minimal delivery but could be upgraded later.The text was updated successfully, but these errors were encountered: