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/2537#issuecomment-435602025,https://api.github.com/repos/pydata/xarray/issues/2537,435602025,MDEyOklzc3VlQ29tbWVudDQzNTYwMjAyNQ==,5635139,2018-11-03T16:38:23Z,2018-11-03T16:38:23Z,MEMBER,"Thanks! I agree. For a comparable case when a list of length 2 is passed: ```python d = xr.DataArray([0], coords={'coord1': ('dim', [0]), 'coord2': ('dim', [1])}, dims=['dim']) In [22]: d Out[22]: array([0]) Coordinates: coord2 (dim) int64 1 coord1 (dim) int64 0 Dimensions without coordinates: dim In [23]: d.set_index(append=True, dim=['coord1','coord2']) Out[23]: array([0]) Coordinates: * dim (dim) MultiIndex - coord1 (dim) int64 0 - coord2 (dim) int64 1 ``` I think the rule should be that if a list is passed, it's a multi-index, as per the doc-string.","{""total_count"": 1, ""+1"": 1, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,376953925 https://github.com/pydata/xarray/issues/2537#issuecomment-435553730,https://api.github.com/repos/pydata/xarray/issues/2537,435553730,MDEyOklzc3VlQ29tbWVudDQzNTU1MzczMA==,5635139,2018-11-03T02:30:06Z,2018-11-03T02:31:51Z,MEMBER,"Thanks @mschrimpf Could you clarify the intended output? ","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,376953925 https://github.com/pydata/xarray/issues/2537#issuecomment-435526670,https://api.github.com/repos/pydata/xarray/issues/2537,435526670,MDEyOklzc3VlQ29tbWVudDQzNTUyNjY3MA==,5635139,2018-11-02T22:24:02Z,2018-11-02T22:24:02Z,MEMBER,"Thanks for the issue @mschrimpf The coord is there: ```python In [2]: d Out[2]: array([0]) Coordinates: coord (dim) int64 0 Dimensions without coordinates: dim ``` ...but `.sel` doesn't accept coordinate names, only on dimensions. Is your issue that `sel` should accept coordinate names? ","{""total_count"": 1, ""+1"": 1, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,376953925