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

GridToMeshESMFRegridder: Allow use of mesh objects for target mesh #245

Closed
arjclark opened this issue Mar 28, 2023 · 1 comment
Closed
Assignees
Labels
New: Feature Highlight a new community raised "feature request" issue Type: Enhancement
Milestone

Comments

@arjclark
Copy link

✨ Feature Request

It would be incredibly useful when generating regridders for GridToMeshESMFRegridder to be able to use mesh objects rather than requiring a cube for the target.

Motivation

This is motivated by the need to generate ancillary files for running LFRic. In NGMS an LFRic mesh generator is used to provide mesh files for how the model should be set up. These are loadable by iris using the load_mesh routine and all seem correct, etc. However, when it comes to constructing a regridder you can't use them in operations like: rg = GridToMeshESMFRegridder(regridme, targetmesh) as you get the error: AttributeError: 'Mesh' object has no attribute 'mesh'. Thus, in order to use the mesh we would then need to write code to generate an empty cube to attach the mesh to. This is redundant and unnecessary boilerplate.

@stephenworsley

@arjclark arjclark added the New: Feature Highlight a new community raised "feature request" issue label Mar 28, 2023
@stephenworsley stephenworsley added this to the v0.8 milestone Jun 7, 2023
@stephenworsley
Copy link
Contributor

closed by #289

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 Type: Enhancement
Projects
None yet
Development

No branches or pull requests

3 participants