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

WIP: generalize open_dataset for non-box meshes #13

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ashwinvis
Copy link
Member

No description provided.

ds = xr.combine_by_coords(elem_dsets, combine_attrs="drop")
# This would work if we pre-sort elem_dsets and pass as a nested list /
# iterator
ds = xr.combine_nested(elem_dsets, concat_dim=('z', 'y', 'x'))
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fails here. Find a way to "reshape" the list of element datasets.

@ashwinvis
Copy link
Member Author

This feature should perhaps wait for explicit indexing support from xarray https://github.com/pydata/xarray/projects/1.

@ashwinvis ashwinvis changed the base branch from master to main October 15, 2021 18:47
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