home / github / issues

Menu
  • GraphQL API
  • Search all tables

issues: 138332032

This data as json

id node_id number title user state locked assignee milestone comments created_at updated_at closed_at author_association active_lock_reason draft pull_request body reactions performed_via_github_app state_reason repo type
138332032 MDU6SXNzdWUxMzgzMzIwMzI= 783 Array size changes following loading of numpy array 4295853 closed 0     19 2016-03-03T23:44:39Z 2016-03-08T23:41:38Z 2016-03-08T23:37:16Z CONTRIBUTOR      

The issue in a nutshell is that

(Pdb) rlzns.xParticle[rnum*Ntr:(rnum+1)*Ntr,:].shape (30, 1012000) (Pdb) rlzns.xParticle[rnum*Ntr:(rnum+1)*Ntr,:].values.shape (29, 1012000) (Pdb) rlzns.xParticle[rnum*Ntr:(rnum+1)*Ntr,:].data.shape (30, 1012000) (Pdb) rlzns.xParticle[rnum*Ntr:(rnum+1)*Ntr,:].data dask.array<getitem..., shape=(30, 1012000), dtype=float64, chunksize=(23, 1012000)>

It seems to me that for some reason when the array is loaded via values that it is no longer the same size. The dask shape appears to be correct.

I previously do a filter on time via rlzns = rlzns.isel(Time=np.where(reset > 0)[0]) and do some commands like np.reshape(rlzns.Time[rnum*Ntr:(rnum+1)*Ntr].values,(1,Ntr)),axis=1) but it seems unlikely that this would be causing the problem.

Has anyone had an issue like this? Any ideas on what could be causing the problem would be greatly appreciated because this behavior is very strange.

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/783/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  completed 13221727 issue

Links from other tables

  • 0 rows from issues_id in issues_labels
  • 19 rows from issue in issue_comments
Powered by Datasette · Queries took 0.659ms · About: xarray-datasette