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/pull/1342#issuecomment-290755765,https://api.github.com/repos/pydata/xarray/issues/1342,290755765,MDEyOklzc3VlQ29tbWVudDI5MDc1NTc2NQ==,1217238,2017-03-31T16:07:35Z,2017-03-31T16:07:35Z,MEMBER,can you add a brief bug fix note for what's new? that seems to have gotten lost...,"{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,218291642
https://github.com/pydata/xarray/pull/1342#issuecomment-290755379,https://api.github.com/repos/pydata/xarray/issues/1342,290755379,MDEyOklzc3VlQ29tbWVudDI5MDc1NTM3OQ==,1217238,2017-03-31T16:06:09Z,2017-03-31T16:06:09Z,MEMBER,"@pwolfram I just pushed a commit, please take a look.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,218291642
https://github.com/pydata/xarray/pull/1342#issuecomment-290752232,https://api.github.com/repos/pydata/xarray/issues/1342,290752232,MDEyOklzc3VlQ29tbWVudDI5MDc1MjIzMg==,1217238,2017-03-31T15:55:08Z,2017-03-31T15:55:08Z,MEMBER,"Something more subtle is going on here.
I can only reproduce this on Python 2, not Python 3. The difference seems to be in what `.get_index()` returns for an dimension of length 0 without labels:
```
# python 2.7
In [11]: mask[:0].get_index('nCells')
Out[11]: Index([], dtype='object', name=u'nCells')
# python 3.5
In [5]: mask[:0].get_index('nCells')
Out[5]: RangeIndex(start=0, stop=0, step=1, name='nCells')
```
I'll investigate a little further and propose a fix.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,218291642