SciTools / iris-esmf-regrid

A collection of structured and unstructured ESMF regridding schemes for Iris.
https://iris-esmf-regrid.readthedocs.io/en/latest
BSD 3-Clause "New" or "Revised" License
19 stars 17 forks source link

`iris.cube.Cube.regrid()`-compatible scheme for `MeshToGridESMFRegridder` #192

Closed schlunma closed 1 year ago

schlunma commented 2 years ago

✨ Feature Request

It would be great to have a regridding scheme that can be recognized by iris.cube.Cube.regrid() based on MeshToGridESMFRegridder (just like ESMFAreaWeighted for ESMFAreaWeightedRegridder).

Motivation

In ESMValTool, we use iris.cube.Cube.regrid() for regridding; thus, a mesh-to-grid (or the other way round) scheme that can be recognized by this function would be great!

Thanks for all the great work on this package!

github-actions[bot] commented 2 years ago

✨ Congratulations! ✨ Thanks for submitting your first issue to iris-esmf-regrid. We really appreciate it and will get back to you as soon as possible. Awesome job 👍

stephenworsley commented 2 years ago

I'm looking to get this done. I'm thinking that ultimately, the unstructured and structured regridders could end up getting wrapped by the same scheme, ESMFAreaWeighted (and also ESMFLinear). To that end, I've been unifying the behaviour of the structured and unstructured regridders which had drifted due to being developed as part of separate projects. I've made some progress with #175 so hopefully I should be able to add this soon.

schlunma commented 2 years ago

That sounds great @stephenworsley!!

github-actions[bot] commented 2 years ago

@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.

schlunma commented 2 years ago

still relevant

github-actions[bot] commented 1 year ago

@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.

schlunma commented 1 year ago

still relevant

stephenworsley commented 1 year ago

@schlunma you should be aware that with #198, it is now possible to do mesh-to-grid regridding with the schemes ESMFAreaWeighted and ESMFBilinear, I'm hoping to do a release soon to get this available.

schlunma commented 1 year ago

@stephenworsley Thanks, this is awesome! Does that mean that ESMFAreaWeighted and ESMFBilinear will work for both mesh-to-grid and grid-to-grid regridding?

stephenworsley commented 1 year ago

@schlunma Yes, they'll work for mesh-to-grid, grid-to-grid and gid-to-mesh regridding, though we have not yet implemented mesh-to-mesh regridding.

schlunma commented 1 year ago

Fantastic, this is all we need! I'll give it a try as soon as your new release is out :rocket: