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/783#issuecomment-193591506,https://api.github.com/repos/pydata/xarray/issues/783,193591506,MDEyOklzc3VlQ29tbWVudDE5MzU5MTUwNg==,306380,2016-03-08T03:44:36Z,2016-03-08T03:44:36Z,MEMBER,"Ah ha! Excellent. Thanks @shoyer . I'll give this a shot tomorrow (or perhaps ask @jcrist to look into it if he has time). ","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,138332032 https://github.com/pydata/xarray/issues/783#issuecomment-193522753,https://api.github.com/repos/pydata/xarray/issues/783,193522753,MDEyOklzc3VlQ29tbWVudDE5MzUyMjc1Mw==,306380,2016-03-08T00:20:43Z,2016-03-08T00:20:43Z,MEMBER,"@shoyer perhaps you can help to translate the code within @pwolfram 's script (in particular the lines that I've highlighted) and say how xarray would use dask.array to accomplish this. `rnum = 7, Ntr = 30` I think this is a case where we each have some necessary expertise to resolve this issue. We probably need to work together to efficiently hunt down what's going on. ","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,138332032 https://github.com/pydata/xarray/issues/783#issuecomment-193501447,https://api.github.com/repos/pydata/xarray/issues/783,193501447,MDEyOklzc3VlQ29tbWVudDE5MzUwMTQ0Nw==,306380,2016-03-07T23:22:46Z,2016-03-07T23:22:46Z,MEMBER,"It looks like the issue is in these lines: ``` (Pdb) pp rlzns.xParticle.data dask.array (Pdb) pp rlzns.xParticle[rnum*Ntr:(rnum+1)*Ntr,:].data dask.array (Pdb) pp rlzns.xParticle[rnum*Ntr:(rnum+1)*Ntr,:].data.compute().shape (29, 100) ``` I'm confused by the chunksize change from 21 to 23. In straight dask.array I'm unable to reproduce this problem, although obviously I'm doing something differently here than how xarray does things. ``` python In [1]: import dask.array as da x In [2]: x = da.ones((3630, 100), chunks=(21, 100)) In [3]: y = x[7*30:8*30, :] In [4]: y.shape Out[4]: (30, 100) In [5]: y.compute().shape Out[5]: (30, 100) In [6]: y.chunks Out[6]: ((21, 9), (100,)) ``` It would be awesome if you all could produce a failing example with just dask.array. ","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,138332032