issue_comments
6 rows where user = 90036937 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: issue_url, reactions, created_at (date), updated_at (date)
user 1
- jesieleo · 6 ✖
id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | performed_via_github_app | issue |
---|---|---|---|---|---|---|---|---|---|---|---|
1303038334 | https://github.com/pydata/xarray/issues/6560#issuecomment-1303038334 | https://api.github.com/repos/pydata/xarray/issues/6560 | IC_kwDOAMm_X85Nqsl- | jesieleo 90036937 | 2022-11-04T06:42:18Z | 2022-11-04T06:43:01Z | NONE | First of all, thank you for your help @dcherian @max-sixty . I finally reproduced this problem.
I put the ``` import numpy as np import xarray as xr ds = xr.Dataset( { "z": ( ("time", "isoBaricInhPa", "latitude", "longitude"), np.ones((1, 5, 721, 1440)), ) }, coords={"latitude": np.linspace(-90, 90, 721)}, ).to_netcdf("test.nc") ds = xr.open_dataset('test.nc') a = ds.isel(time=[0], isoBaricInhPa=1).z[:, ::10, ::10][:, ::-1, :] print(a.sizes) print(a.shape) print(a)
|
{ "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 1 } |
netCDF + lazy backend: Error when sel is used with slice, reverse arrange 1222609313 | |
1118482764 | https://github.com/pydata/xarray/issues/6560#issuecomment-1118482764 | https://api.github.com/repos/pydata/xarray/issues/6560 | IC_kwDOAMm_X85CqrFM | jesieleo 90036937 | 2022-05-05T12:20:59Z | 2022-05-05T12:20:59Z | NONE |
Since I don't know how the grib file is generated, I can't reproduce it. But the data I use is the ECWMF official website data converted by engine='cfgrib', this problem may be caused by the 'cfgrib' engine, although it is not very big wrong, but it's a hidden danger. I'm not competent enough, sorry to bother you. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
netCDF + lazy backend: Error when sel is used with slice, reverse arrange 1222609313 | |
1116993532 | https://github.com/pydata/xarray/issues/6560#issuecomment-1116993532 | https://api.github.com/repos/pydata/xarray/issues/6560 | IC_kwDOAMm_X85Ck_f8 | jesieleo 90036937 | 2022-05-04T07:09:32Z | 2022-05-04T07:09:32Z | NONE |
I packed them in one |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
netCDF + lazy backend: Error when sel is used with slice, reverse arrange 1222609313 | |
1115771909 | https://github.com/pydata/xarray/issues/6560#issuecomment-1115771909 | https://api.github.com/repos/pydata/xarray/issues/6560 | IC_kwDOAMm_X85CgVQF | jesieleo 90036937 | 2022-05-03T06:15:50Z | 2022-05-03T06:17:44Z | NONE |
Ok ,thanks. I try to simplify the problem on an array
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
netCDF + lazy backend: Error when sel is used with slice, reverse arrange 1222609313 | |
1114655218 | https://github.com/pydata/xarray/issues/6560#issuecomment-1114655218 | https://api.github.com/repos/pydata/xarray/issues/6560 | IC_kwDOAMm_X85CcEny | jesieleo 90036937 | 2022-05-02T09:19:24Z | 2022-05-02T09:57:55Z | NONE | Sorry, this is the first time I use Github to report a problem, I don't understand it very well, it seems that I need to learn more. I have added a zip dile with a .ipynb file , don't know if it is ok? ------------------ 原始邮件 ------------------ 发件人: "Maximilian @.>; 发送时间: 2022年5月2日(星期一) 下午4:32 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [pydata/xarray] error when using .sel() and [:, ::10, ::10][:, ::-1, :] (Issue #6560) @jesieleo — I'm probably being unclear, and I'm sure you're well-intentioned, but this & the previous issues aren't constructive for either of us so far. In the politest possible way: please make an issue that is complete and "copy & pastes into an IPython prompt or Binder notebook, returning the result.". You cannot reference data that is only on your computer. This will require work from your end to take the example you have there, and reduce it to the bare minimum. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***> |
{ "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 1 } |
netCDF + lazy backend: Error when sel is used with slice, reverse arrange 1222609313 | |
1114492857 | https://github.com/pydata/xarray/issues/6553#issuecomment-1114492857 | https://api.github.com/repos/pydata/xarray/issues/6553 | IC_kwDOAMm_X85Cbc-5 | jesieleo 90036937 | 2022-05-02T04:42:46Z | 2022-05-02T07:16:05Z | NONE |
First of all thanks for your answer. In fact, this was originally a vector coordinate, but I chose one to send u. This time I upload a version of isobaricInhPa which is a vector coordinate, please select. The latitude should be 73 but 72 ,but,when I try to check latitude by itself, it works fine again, which makes me think it's a bug. ``` import xarray as xr data3 = xr.open_dataset('test0001.nc') correcta = data3.sel(time='1979-1',isobaricInhPa=200).z[:, ::10,::10] The latitude should be 73 but 72wrong (latitude wrong,latituede is 72)b = data3.sel(time='1979-1',isobaricInhPa=200).z[:, ::-10,::10] correct(latitude wrong,latituede is 73)b = data3.sel(time='1979-1',isobaricInhPa=200).z[:, ::-10,::10].latitude ``` latitude should be 73, but this is 72, and the coordinates do not correspond to the data It seem that when use sel() , [: , ::-1 , :] and [: , ::10 , ::10] at the same time will cause the second coord will wrong like this. Why just when use sel and[: , ::-10 , ::10] ,it will goes wrong( the coordinates DO NOT correspond to the data) ,
but use sel and[: , ::10 , ::10] it goes right (the coordinates DO correspond to the data)?
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
processing errror when using xr.dataset[:,::-10,::10] 1222066968 |
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]);
issue 2