issue_comments
2 rows where issue = 947796627 and user = 14808389 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: created_at (date), updated_at (date)
issue 1
- `xr.where()` does not work like `np.where()`on meshgrids · 2 ✖
id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | performed_via_github_app | issue |
---|---|---|---|---|---|---|---|---|---|---|---|
883232093 | https://github.com/pydata/xarray/issues/5620#issuecomment-883232093 | https://api.github.com/repos/pydata/xarray/issues/5620 | IC_kwDOAMm_X840pQ1d | keewis 14808389 | 2021-07-20T09:09:31Z | 2021-07-20T09:44:42Z | MEMBER | Actually, I can reproduce this with the example which makes it pretty obvious why this fails: |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
`xr.where()` does not work like `np.where()`on meshgrids 947796627 | |
883226384 | https://github.com/pydata/xarray/issues/5620#issuecomment-883226384 | https://api.github.com/repos/pydata/xarray/issues/5620 | IC_kwDOAMm_X840pPcQ | keewis 14808389 | 2021-07-20T09:01:34Z | 2021-07-20T09:01:34Z | MEMBER | @meteoDaniel, it ultimately comes down to how much time a maintainer is willing to spend on a single issue, with self-contained, small examples being much easier to debug (and there are a few other reasons in the blog post linked to by @max-sixty). That said, I can reproduce your issue, which apparently is independent of the way the mask is constructed: ```python mask = ( (latitudes <= maxLat) & (latitudes > minLat) & (longitudes <= maxLon) & (longitudes > minLon) ) ds.where(xr.DataArray(mask, dims=("y", "x")), drop=True).latitude.max() # 49.30 latitudes[mask].max() # 48.92 ``` However, if I do
Interestingly, |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
`xr.where()` does not work like `np.where()`on meshgrids 947796627 |
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