html_url,issue_url,id,node_id,user,created_at,updated_at,author_association,body,reactions,performed_via_github_app,issue
https://github.com/pydata/xarray/issues/674#issuecomment-350843335,https://api.github.com/repos/pydata/xarray/issues/674,350843335,MDEyOklzc3VlQ29tbWVudDM1MDg0MzMzNQ==,5635139,2017-12-11T20:10:40Z,2017-12-11T20:10:40Z,MEMBER,OK great! To confirm: you're up for (1) - i.e. coords set the index; rather than an outer join with all available indexes.,"{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,121569683
https://github.com/pydata/xarray/issues/674#issuecomment-350527584,https://api.github.com/repos/pydata/xarray/issues/674,350527584,MDEyOklzc3VlQ29tbWVudDM1MDUyNzU4NA==,5635139,2017-12-10T06:10:07Z,2017-12-10T06:10:07Z,MEMBER,"I'd be up for implementing this, if people agree. Let me know...","{""total_count"": 1, ""+1"": 1, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,121569683
https://github.com/pydata/xarray/issues/674#issuecomment-164040753,https://api.github.com/repos/pydata/xarray/issues/674,164040753,MDEyOklzc3VlQ29tbWVudDE2NDA0MDc1Mw==,5635139,2015-12-11T20:31:00Z,2015-12-11T20:31:00Z,MEMBER,"On reflection, I favor (1) pretty clearly. I don't have much experience with XRay, so I trust you more than I trust myself, but:
- In our use cases, we care about exactly what the axes / coords are. So we need some single source of truth there. If I implemented this using the outer join, we wouldn't use it much!
- I can't clearly visualize the use cases supporting the other side - where users have coords that they want to add 'in addition', but that aren't on a DataArray they're supplying.
- I haven't heard of people being confused on the pandas `index=` parameter (although I'm absent from SO discussions etc, so may have missed them)
Let me know your thoughts. We should pick the right way, not the preference of the person implementing it, so chose what you think is best.
","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,121569683
https://github.com/pydata/xarray/issues/674#issuecomment-163748764,https://api.github.com/repos/pydata/xarray/issues/674,163748764,MDEyOklzc3VlQ29tbWVudDE2Mzc0ODc2NA==,5635139,2015-12-10T21:04:18Z,2015-12-10T21:18:08Z,MEMBER,"> I don't see any obvious reason reason why coords should be treated differently than data_vars as far as data alignment in the Dataset constructor goes.
Two possibilities:
1. `coords` would take precedence, and all the DataArrays would be aligned to those. This is equivalent to the second example where arrays are added on with `__setitem__` after construction
2. Everything is aligned with an outer join, nothing takes precedence (which I think means the constructor can _never_ fail for alignment reasons)
I would favor (1), since you can be explicit about what `coords` you want to end up with; if you don't have a preference, you can neglect to supply `coords` and get the outer join.
But it sounds like you may favor (2)?
","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,121569683