issue_comments
6 rows where issue = 993563624 and user = 89942016 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: reactions, created_at (date), updated_at (date)
issue 1
- Unexpected behavior when using slice in a sel() statement · 6 ✖
id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | performed_via_github_app | issue |
---|---|---|---|---|---|---|---|---|---|---|---|
921062321 | https://github.com/pydata/xarray/issues/5786#issuecomment-921062321 | https://api.github.com/repos/pydata/xarray/issues/5786 | IC_kwDOAMm_X8425kux | nickdoty 89942016 | 2021-09-16T16:43:52Z | 2021-09-16T16:43:52Z | NONE | @max-sixty after digging through the data sets using data = xr.open_dataset('test_slice.nc4') print(data) print(data.indexes['lat']) ``` And here is the output:
From the data source, the latitudes are of type Thank you! |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Unexpected behavior when using slice in a sel() statement 993563624 | |
920332562 | https://github.com/pydata/xarray/issues/5786#issuecomment-920332562 | https://api.github.com/repos/pydata/xarray/issues/5786 | IC_kwDOAMm_X8422ykS | nickdoty 89942016 | 2021-09-15T19:56:41Z | 2021-09-15T19:56:41Z | NONE | @max-sixty it does - it doesn't solve my problem, but it appears that the problem isn't with |
{ "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Unexpected behavior when using slice in a sel() statement 993563624 | |
920276263 | https://github.com/pydata/xarray/issues/5786#issuecomment-920276263 | https://api.github.com/repos/pydata/xarray/issues/5786 | IC_kwDOAMm_X8422k0n | nickdoty 89942016 | 2021-09-15T18:33:58Z | 2021-09-15T18:33:58Z | NONE | This is as clear an example as I can make of the problem. ```python import xarray as xr data = xr.open_dataset('https://podaac-opendap.jpl.nasa.gov/opendap/allData/ghrsst/data/GDS2/L4/GLOB/JPL/MUR/' 'v4.1/2018/030/20180130090000-JPL-L4_GHRSST-SSTfnd-MUR-GLOB-v02.0-fv04.1.nc') ex = data['analysed_sst'].sel(lat=slice(10.45, 10.52), lon=-68.00).values[0] print("Items in the array:") print(ex) print("Number of items in the array: " + str(len(ex))) ``` Output:
Where that says |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Unexpected behavior when using slice in a sel() statement 993563624 | |
920206755 | https://github.com/pydata/xarray/issues/5786#issuecomment-920206755 | https://api.github.com/repos/pydata/xarray/issues/5786 | IC_kwDOAMm_X8422T2j | nickdoty 89942016 | 2021-09-15T17:06:51Z | 2021-09-15T17:06:51Z | NONE | The code in my I will look into the tolerance keyword - hopefully it will provide a temporary solution. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Unexpected behavior when using slice in a sel() statement 993563624 | |
918490945 | https://github.com/pydata/xarray/issues/5786#issuecomment-918490945 | https://api.github.com/repos/pydata/xarray/issues/5786 | IC_kwDOAMm_X842vw9B | nickdoty 89942016 | 2021-09-13T19:05:29Z | 2021-09-13T19:05:29Z | NONE | No need to apologize. Some understanding of the data set may help.
The MUR-SST data set is a large data set that displays the sea surface temperature (in K) at a given longitude and latitude. The precision is 2 decimal places, so there is a value every .01 deg. The values I displayed above that are From my understanding, the However, in Ultimately, for our less technical users, we'd expect them to do |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Unexpected behavior when using slice in a sel() statement 993563624 | |
918249382 | https://github.com/pydata/xarray/issues/5786#issuecomment-918249382 | https://api.github.com/repos/pydata/xarray/issues/5786 | IC_kwDOAMm_X842u1-m | nickdoty 89942016 | 2021-09-13T14:26:57Z | 2021-09-13T14:26:57Z | NONE | The issue is, the number of These are the actual results we get:
The number of results from example 2 is only 6 - because there isn't a value for 10.45. It appears, somehow the number 10.45 is being altered/recalculated so it is slightly larger than 10.45, so the slice value starts at the next valid value of 10.46. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Unexpected behavior when using slice in a sel() statement 993563624 |
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