Skip to content

An iris cube converter? #621

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

Closed
DamienIrving opened this issue Oct 12, 2015 · 1 comment
Closed

An iris cube converter? #621

DamienIrving opened this issue Oct 12, 2015 · 1 comment

Comments

@DamienIrving
Copy link

Would it be possible to include a function to convert from an xray.DataArray to an iris.cube?

For weather/climate/ocean science, xray is by far the best library for general data processing, while iris and cartopy are the best for geospatial plotting. At the moment I usually write the results of my xray data processing out to a netCDF file, then read that file in with iris for plotting. I'm assuming many other people do the same, so a .to_cube() function might allow people to skip that extra input/output step.

@shoyer
Copy link
Member

shoyer commented Oct 12, 2015

Yes, this would certainly be a welcome addition (see #37). If you're interested in working on this, #236 is reasonable template.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants