issue_comments
2 rows where author_association = "CONTRIBUTOR" and issue = 974488736 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: created_at (date), updated_at (date)
issue 1
- Dask error on xarray.corr · 2 ✖
id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | performed_via_github_app | issue |
---|---|---|---|---|---|---|---|---|---|---|---|
902657635 | https://github.com/pydata/xarray/issues/5715#issuecomment-902657635 | https://api.github.com/repos/pydata/xarray/issues/5715 | IC_kwDOAMm_X841zXZj | Gijom 9466648 | 2021-08-20T12:30:19Z | 2021-08-20T12:30:33Z | CONTRIBUTOR | I had a look to it this morning and I think I managed to solve the issue by replacing the calls to For (successful) testing I used the same code as above plus the following: ```python ds_dask = ds.chunk({"t": 10}) yy = xr.corr(ds['y'], ds['y']).to_numpy() yy_dask = xr.corr(ds_dask['y'], ds_dask['y']).to_numpy() yx = xr.corr(ds['y'], ds['x']).to_numpy() yx_dask = xr.corr(ds_dask['y'], ds_dask['x']).to_numpy() np.testing.assert_allclose(yy, yy_dask), "YY: {} is different from {}".format(yy, yy_dask) np.testing.assert_allclose(yx, yx_dask), "YX: {} is different from {}".format(yx, yx_dask) ``` The results are not exactly identical but almost which is probably due to numerical approximations of multiple computations in the dask case. I also tested the correlation of simple DataArrays without dask installed and the result seem coherent (close to 0 for uncorrelated data and very close to 1 when correlating identical variables). Should I make a pull request ? Should I implement this test ? Any others ? |
{ "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 1, "rocket": 0, "eyes": 0 } |
Dask error on xarray.corr 974488736 | |
902516397 | https://github.com/pydata/xarray/issues/5715#issuecomment-902516397 | https://api.github.com/repos/pydata/xarray/issues/5715 | IC_kwDOAMm_X841y06t | Gijom 9466648 | 2021-08-20T08:09:46Z | 2021-08-20T08:10:50Z | CONTRIBUTOR | The responsible code for the error originally comes from the call to 4. Compute covariance along the given dimN.B.
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Dask error on xarray.corr 974488736 |
Advanced export
JSON shape: default, array, newline-delimited, object
CREATE TABLE [issue_comments] ( [html_url] TEXT, [issue_url] TEXT, [id] INTEGER PRIMARY KEY, [node_id] TEXT, [user] INTEGER REFERENCES [users]([id]), [created_at] TEXT, [updated_at] TEXT, [author_association] TEXT, [body] TEXT, [reactions] TEXT, [performed_via_github_app] TEXT, [issue] INTEGER REFERENCES [issues]([id]) ); CREATE INDEX [idx_issue_comments_issue] ON [issue_comments] ([issue]); CREATE INDEX [idx_issue_comments_user] ON [issue_comments] ([user]);
user 1