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 support for nearest neighbour regridding #213

Closed
stephenworsley opened this issue Sep 15, 2022 · 2 comments
Closed

Add support for nearest neighbour regridding #213

stephenworsley opened this issue Sep 15, 2022 · 2 comments
Assignees
Labels
New: Feature Highlight a new community raised "feature request" issue

Comments

@stephenworsley
Copy link
Contributor

stephenworsley commented Sep 15, 2022

✨ 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 and Bilinear 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 a LocStream. For the time being, it should be sufficient to simply match the level of support that Conservative and Bilinear 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.

@stephenworsley stephenworsley added the New: Feature Highlight a new community raised "feature request" issue label Sep 15, 2022
@github-actions
Copy link
Contributor

@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 github-actions bot added the Stale: Closure warning This stale issue or pull-request has been marked for closure label Dec 30, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Jan 6, 2023

@SciTools-incubator/esmf-regrid-devs This stale issue has been automatically closed due to no community activity

@github-actions github-actions bot added the Stale: Closed This stale issue or pull-request has been closed due to no activity label Jan 6, 2023
@github-actions github-actions bot closed this as completed Jan 6, 2023
@stephenworsley 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
@stephenworsley stephenworsley reopened this May 3, 2023
@trexfeathers trexfeathers linked a pull request May 15, 2023 that will close this issue
@trexfeathers trexfeathers removed a link to a pull request May 15, 2023
@pp-mo pp-mo closed this as completed Jun 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
New: Feature Highlight a new community raised "feature request" issue
Projects
None yet
Development

No branches or pull requests

3 participants