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

concat_members does not retain member_id as coordinate #196

Closed
jbusecke opened this issue Sep 3, 2021 · 0 comments · Fixed by #197
Closed

concat_members does not retain member_id as coordinate #196

jbusecke opened this issue Sep 3, 2021 · 0 comments · Fixed by #197
Labels
bug Something isn't working

Comments

@jbusecke
Copy link
Owner

jbusecke commented Sep 3, 2021

Consider this example:

a = xr.DataArray(np.random.rand(4,5)).to_dataset(name='var')
a.attrs['variant_label']='a'

b = xr.DataArray(np.random.rand(4,5)).to_dataset(name='var')
b.attrs['variant_label']='b'

concat_members({'a':a, 'b':b})

this results in a single dataset with a dimension but noot coordinate member_id

image

concat_members should obviously carry the information about variant_label/member_id.

@jbusecke jbusecke added the bug Something isn't working label Sep 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant