Skip to content

Convenience for converting Cubes to other Iris objects #6320

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

Open
trexfeathers opened this issue Feb 18, 2025 · 0 comments
Open

Convenience for converting Cubes to other Iris objects #6320

trexfeathers opened this issue Feb 18, 2025 · 0 comments

Comments

@trexfeathers
Copy link
Contributor

trexfeathers commented Feb 18, 2025

build_raw_cube() - introduced in #6318 - outputs Cubes where the original object could not be created during loading. The philosophy is that users can fix loading problems to get the coordinate/whatever that they wanted originally. It should therefore be as easy as possible to convert between types.

We already have the from_metadata() function, so perhaps build on that.

Could potentially go further, and provide conveniences for fixing known common load problems.

If code proves unrealistic, documentation examples would be a good second option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Status: 🆕 Candidate
Development

No branches or pull requests

2 participants