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

Xr wraps #55

Open
wants to merge 2 commits into
base: xr_wraps_BASIS
Choose a base branch
from
Open

Xr wraps #55

wants to merge 2 commits into from

Conversation

pp-mo
Copy link
Owner

@pp-mo pp-mo commented Mar 21, 2019

Shows how we can wrap + translate an Xarray.Dataset to "load" it into Iris.
I'm thinking that this could form the basis of an iris "from_xarray" operation, to replace xarray.DataArray.to_iris().

In due course we can maybe also add "writeable-file-like" facilities,
to provide something like an iris "to_xarray" function (i.e. replace xarray from_iris).

CURRENT STATUS:
Replaces #54
Kludgy POC only !!
At this point, we have at least "some" reads working
(e.g. the included test_iris_xarray_load.py)

This hopefully shows the main problems to be dealt with -- but the methods to achieve that here may be pretty nasty for now.

@pp-mo pp-mo changed the title Xr wraps first reads working Xr wraps Mar 21, 2019
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

Successfully merging this pull request may close these issues.

1 participant