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/1140#issuecomment-281598234,https://api.github.com/repos/pydata/xarray/issues/1140,281598234,MDEyOklzc3VlQ29tbWVudDI4MTU5ODIzNA==,1842005,2017-02-22T08:10:23Z,2017-02-22T08:11:15Z,NONE,"At our institute we use Python (both v2.7 and 3.x) exclusively on x64 systems to make use of the entire memory on our workstations. Since all relevant (binary) scientific packages are released as 64-bit versions, 32 bit Python is obsolete for our use cases.
> Just for reference (I don't develop on Windows), do we need to test both 32 and 64 bit Windows installs?
As some binary dependencies are involved, both have to be tested.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,192122307
https://github.com/pydata/xarray/issues/1140#issuecomment-281411508,https://api.github.com/repos/pydata/xarray/issues/1140,281411508,MDEyOklzc3VlQ29tbWVudDI4MTQxMTUwOA==,1217238,2017-02-21T17:16:05Z,2017-02-21T17:16:05Z,MEMBER,"Just for reference (I don't develop on Windows), do we need to test both 32 and 64 bit Windows installs? It's not a big deal to add another configuration to the build matrix, but currently we only test Python 2.7 on 32-bit and 3.6 on 64-bit: https://github.com/pydata/xarray/blob/v0.9.1/appveyor.yml","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,192122307
https://github.com/pydata/xarray/issues/1140#issuecomment-281305689,https://api.github.com/repos/pydata/xarray/issues/1140,281305689,MDEyOklzc3VlQ29tbWVudDI4MTMwNTY4OQ==,1842005,2017-02-21T10:34:41Z,2017-02-21T10:34:41Z,NONE,"I've just run into the same issue with the `AssertionError` on Windows 7 x64 with Python v2.7, netcdf4 1.2.4, numpy 1.11.3, pandas 0.19.2, **xarray 0.8.2 and 0.9.1** (all packages from Anaconda repo).
Downgrading pandas to 0.18.1 solved the problem for me.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,192122307
https://github.com/pydata/xarray/issues/1140#issuecomment-281188737,https://api.github.com/repos/pydata/xarray/issues/1140,281188737,MDEyOklzc3VlQ29tbWVudDI4MTE4ODczNw==,1217238,2017-02-20T21:44:42Z,2017-02-20T21:44:42Z,MEMBER,"Sounds like we need to add 64-bit Python 2.7 on Windows to our build matrix!
And also a more robust check for integer types in variable.py.","{""total_count"": 1, ""+1"": 1, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,192122307
https://github.com/pydata/xarray/issues/1140#issuecomment-281075869,https://api.github.com/repos/pydata/xarray/issues/1140,281075869,MDEyOklzc3VlQ29tbWVudDI4MTA3NTg2OQ==,3404817,2017-02-20T13:13:07Z,2017-02-20T13:13:07Z,CONTRIBUTOR,"@JamesSample excellent work confirming the limited scope.
I am quite sure that the issue is with this line: https://github.com/pydata/xarray/blob/v0.9.1/xarray/core/variable.py#L375-L376
```
dims = tuple(dim for k, dim in zip(key, self.dims)
if not isinstance(k, (int, np.integer)))
```
When you run the test case I added in #1184, you will see that, inside `__getitem__`, `key` is a tuple with an empty array inside (`key = (np.array(0, dtype=np.int64),)`).
With that value,
```
isinstance(key[0], (int, np.integer))
```
is `False` on 64 bit Windows and so `dims=('time',)`, which has length 1.
But `values = self._indexable_data[key]` gives a zero-dimension array, such that `values.ndim == 0`...
I am unable to tell which of the two sides of the `assertion` expression is unexpected...","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,192122307
https://github.com/pydata/xarray/issues/1140#issuecomment-281043655,https://api.github.com/repos/pydata/xarray/issues/1140,281043655,MDEyOklzc3VlQ29tbWVudDI4MTA0MzY1NQ==,12967176,2017-02-20T10:33:51Z,2017-02-20T10:33:51Z,NONE,"@j08lue Thanks for your response - that's interesting. I'm not familiar with Appveyor and hadn't realised what builds were being used.
As a test, I've just installed 32-bit WinPython 2.7 and xarray (still on my 64-bit Windows 10 machine) and everything works fine, so this does appear to be a specific issue with xarray and 64-bit Python 2.7.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,192122307
https://github.com/pydata/xarray/issues/1140#issuecomment-281038974,https://api.github.com/repos/pydata/xarray/issues/1140,281038974,MDEyOklzc3VlQ29tbWVudDI4MTAzODk3NA==,3404817,2017-02-20T10:13:45Z,2017-02-20T10:13:45Z,CONTRIBUTOR,"@JamesSample Thanks for restoring my credibility a bit here... But, no, I did not figure this out yet.
Appveyor apparently does not have the combination Windows 64 bit + Python 2.7 (https://ci.appveyor.com/project/jhamman/xarray-injyf/build/1.0.659), maybe that is why it does not reproduce the error?","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,192122307
https://github.com/pydata/xarray/issues/1140#issuecomment-280840391,https://api.github.com/repos/pydata/xarray/issues/1140,280840391,MDEyOklzc3VlQ29tbWVudDI4MDg0MDM5MQ==,12967176,2017-02-18T11:45:00Z,2017-02-18T11:45:00Z,NONE,"Hi j08lue,
Just wondering if you ever figured this out? I'm having exactly the same issue on 64-bit Windows 10, using WinPython 2.7 and the following:
xarray 0.9.1
Pandas 0.19.1
Numpy 1.11.2
If I've understood the comments [here ](https://github.com/pydata/xarray/pull/1184) correctly, it sounds as though others are struggling to reproduce the problem - even on Windows - so presumably it's something strange with our installations? ","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,192122307
https://github.com/pydata/xarray/issues/1140#issuecomment-269136711,https://api.github.com/repos/pydata/xarray/issues/1140,269136711,MDEyOklzc3VlQ29tbWVudDI2OTEzNjcxMQ==,3404817,2016-12-25T20:41:41Z,2016-12-25T20:41:41Z,CONTRIBUTOR,"Yes, this is Python 2. :flushed: Let's see what Travis & Co say.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,192122307
https://github.com/pydata/xarray/issues/1140#issuecomment-268944080,https://api.github.com/repos/pydata/xarray/issues/1140,268944080,MDEyOklzc3VlQ29tbWVudDI2ODk0NDA4MA==,1217238,2016-12-23T05:52:01Z,2016-12-23T05:52:01Z,MEMBER,"Sorry for the delay getting back to you.
I'm having trouble reproducing this on OS X. I assume you're running Python 2? Maybe this is a Windows thing? I'm a little baffled here.
One thing that would be very helpful is a pull request with a test case that fails our continuous integration tests (which include testing Windows).","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,192122307