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/3215#issuecomment-521524233,https://api.github.com/repos/pydata/xarray/issues/3215,521524233,MDEyOklzc3VlQ29tbWVudDUyMTUyNDIzMw==,6063709,2019-08-15T05:56:18Z,2019-08-15T05:57:40Z,CONTRIBUTOR,"Confirmed that `NUMPY_EXPERIMENTAL_ARRAY_FUNCTION=0` fixes this issue for me.
Have submitted a PR with your suggested fix https://github.com/pydata/xarray/pull/3220
Confirmed the submitted code fixes my issue.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,480512400
https://github.com/pydata/xarray/issues/3215#issuecomment-521504317,https://api.github.com/repos/pydata/xarray/issues/3215,521504317,MDEyOklzc3VlQ29tbWVudDUyMTUwNDMxNw==,6063709,2019-08-15T03:55:00Z,2019-08-15T03:55:00Z,CONTRIBUTOR,Thanks for the explanation.,"{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,480512400
https://github.com/pydata/xarray/issues/3215#issuecomment-521503585,https://api.github.com/repos/pydata/xarray/issues/3215,521503585,MDEyOklzc3VlQ29tbWVudDUyMTUwMzU4NQ==,1217238,2019-08-15T03:50:00Z,2019-08-15T03:50:00Z,MEMBER,"> I still don't understand the different code paths between `decode_cf=True` and `decode_cf=False` + explicit call to `xarray.decode_cf()`
In the first case, CF conventions decoding is done on xarray's internal lazy BackendArray objects.
In the second case, CF conventions decoding is done on dask arrays. There are a few cases where this can be slower / require loading more data to look at a small slice of array data.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,480512400
https://github.com/pydata/xarray/issues/3215#issuecomment-521502195,https://api.github.com/repos/pydata/xarray/issues/3215,521502195,MDEyOklzc3VlQ29tbWVudDUyMTUwMjE5NQ==,6063709,2019-08-15T03:40:27Z,2019-08-15T03:40:27Z,CONTRIBUTOR,"Thanks @shoyer.
I still don't understand the different code paths between `decode_cf=True` and `decode_cf=False` + explicit call to `xarray.decode_cf()`","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,480512400
https://github.com/pydata/xarray/issues/3215#issuecomment-521500878,https://api.github.com/repos/pydata/xarray/issues/3215,521500878,MDEyOklzc3VlQ29tbWVudDUyMTUwMDg3OA==,1217238,2019-08-15T03:32:02Z,2019-08-15T03:32:02Z,MEMBER,A short term work around is to set the environment variable `NUMPY_EXPERIMENTAL_ARRAY_FUNCTION=0` before importing NumPy.,"{""total_count"": 2, ""+1"": 2, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,480512400
https://github.com/pydata/xarray/issues/3215#issuecomment-521492717,https://api.github.com/repos/pydata/xarray/issues/3215,521492717,MDEyOklzc3VlQ29tbWVudDUyMTQ5MjcxNw==,1217238,2019-08-15T02:40:10Z,2019-08-15T02:40:10Z,MEMBER,"This is definitely due to NumPy 1.17 / `__array_function__`, which means that `np.ravel` now calls out to a dask function rather than coercing to NumPy.
I think the right fix is to add explicit casting to NumPy, e.g., `np.ravel(np.asarray(array[indexer]))`","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,480512400
https://github.com/pydata/xarray/issues/3215#issuecomment-521456728,https://api.github.com/repos/pydata/xarray/issues/3215,521456728,MDEyOklzc3VlQ29tbWVudDUyMTQ1NjcyOA==,6063709,2019-08-14T23:28:35Z,2019-08-14T23:28:35Z,CONTRIBUTOR,"Seems that this is by design, from [here](https://docs.dask.org/en/latest/array.html?highlight=tolist#scope)
> Dask Array doesn’t implement operations like tolist that would be very inefficient for larger datasets. Likewise, it is very inefficient to iterate over a Dask array with for loops
So `dask` has never had a `tolist` method, so in one case the object is a `dask` array, but not in the other case.
I still don't understand why it fails when `decode_cf` is called separately. Suggests there is a different code path as all underlying packages are identical.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,480512400
https://github.com/pydata/xarray/issues/3215#issuecomment-521349841,https://api.github.com/repos/pydata/xarray/issues/3215,521349841,MDEyOklzc3VlQ29tbWVudDUyMTM0OTg0MQ==,868027,2019-08-14T17:51:06Z,2019-08-14T17:51:06Z,CONTRIBUTOR,"I think this is being thrown by dask, here is an even more minimal example:
```python
>>> import dask as da
>>> da.array.from_array([]).tolist()
Traceback (most recent call last):
File """", line 1, in
AttributeError: 'Array' object has no attribute 'tolist'
```","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,480512400
https://github.com/pydata/xarray/issues/3215#issuecomment-521344406,https://api.github.com/repos/pydata/xarray/issues/3215,521344406,MDEyOklzc3VlQ29tbWVudDUyMTM0NDQwNg==,5471157,2019-08-14T17:36:12Z,2019-08-14T17:36:12Z,NONE,"I'm having the same issue with xarray 0.12.3, numpy 1.17.0, python 3.7.3. ","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,480512400