issue_comments
6 rows where issue = 947796627 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 · 6 ✖
| id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | performed_via_github_app | issue |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 883320031 | https://github.com/pydata/xarray/issues/5620#issuecomment-883320031 | https://api.github.com/repos/pydata/xarray/issues/5620 | IC_kwDOAMm_X840pmTf | meteoDaniel 27021858 | 2021-07-20T11:32:45Z | 2021-07-20T11:32:45Z | NONE | @keewis thanks for your further explanation. In the mean time I have built a work-around because I recognized that xarray tries to keep the 2D arrays. nump reverts a 1D index array. Thanks |
{
"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 | |
| 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 | |
| 883085722 | https://github.com/pydata/xarray/issues/5620#issuecomment-883085722 | https://api.github.com/repos/pydata/xarray/issues/5620 | IC_kwDOAMm_X840otGa | max-sixty 5635139 | 2021-07-20T05:50:39Z | 2021-07-20T05:50:48Z | MEMBER | No stress — I know it can be unclear at first — but can you show the same result without requiring downloading data and with a smaller example? Here's the link in the issue template I was referring to: http://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports |
{
"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 | |
| 883077601 | https://github.com/pydata/xarray/issues/5620#issuecomment-883077601 | https://api.github.com/repos/pydata/xarray/issues/5620 | IC_kwDOAMm_X840orHh | meteoDaniel 27021858 | 2021-07-20T05:39:10Z | 2021-07-20T05:40:01Z | NONE | @max-sixty I do not know what you want? You can download the file and I have placed all the code you need to run into this issue. |
{
"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 | |
| 883071124 | https://github.com/pydata/xarray/issues/5620#issuecomment-883071124 | https://api.github.com/repos/pydata/xarray/issues/5620 | IC_kwDOAMm_X840opiU | max-sixty 5635139 | 2021-07-20T05:29:50Z | 2021-07-20T05:29:50Z | MEMBER | Hi @meteoDaniel — please could you add a minimal example as per the link in the issue template? |
{
"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 3