home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

4 rows where issue = 963688125 and user = 6063709 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: created_at (date), updated_at (date)

user 1

  • aidanheerdegen · 4 ✖

issue 1

  • xindexes set incorrectly for mfdataset with dask client and parallel=True · 4 ✖

author_association 1

  • CONTRIBUTOR 4
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
895624119 https://github.com/pydata/xarray/issues/5686#issuecomment-895624119 https://api.github.com/repos/pydata/xarray/issues/5686 IC_kwDOAMm_X841YiO3 aidanheerdegen 6063709 2021-08-09T23:44:10Z 2021-08-09T23:44:10Z CONTRIBUTOR

Thanks for the super fast fix. I have confirmed this fixes #5677

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  xindexes set incorrectly for mfdataset with dask client and parallel=True 963688125
895123758 https://github.com/pydata/xarray/issues/5686#issuecomment-895123758 https://api.github.com/repos/pydata/xarray/issues/5686 IC_kwDOAMm_X841WoEu aidanheerdegen 6063709 2021-08-09T10:46:57Z 2021-08-09T10:46:57Z CONTRIBUTOR

A colleague suggested it might be some sort of pickling issue, passing the generated object back to the main thread, but it was just speculation and I had no idea how to test that.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  xindexes set incorrectly for mfdataset with dask client and parallel=True 963688125
895122645 https://github.com/pydata/xarray/issues/5686#issuecomment-895122645 https://api.github.com/repos/pydata/xarray/issues/5686 IC_kwDOAMm_X841WnzV aidanheerdegen 6063709 2021-08-09T10:44:42Z 2021-08-09T10:44:42Z CONTRIBUTOR

Thanks again for the prompt response @spencerkclark. Yes your MCVE is more (less?) M than mine. Thanks.

Perhaps I shouldn't have started a new issue, but it seemed the specific problem with .sel was just a knock on effect from this cftime issue.

I should have said in #5677 that as far as I could tell I was using cftime=1.5.0.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  xindexes set incorrectly for mfdataset with dask client and parallel=True 963688125
895120951 https://github.com/pydata/xarray/issues/5686#issuecomment-895120951 https://api.github.com/repos/pydata/xarray/issues/5686 IC_kwDOAMm_X841WnY3 aidanheerdegen 6063709 2021-08-09T10:41:18Z 2021-08-09T10:41:18Z CONTRIBUTOR

Thanks for the updated report! Could you kindly share the full error traceback?

Sorry, see below python Traceback (most recent call last): File "/g/data/v45/aph502/helpdesk/fromgithub/20210804-Navid/mcve.py", line 28, in <module> assert (index_microseconds == xr.open_mfdataset('2???.nc', parallel=True).xindexes['time'].array.asi8).all() File "/g/data3/hh5/public/apps/miniconda3/envs/analysis3-21.07/lib/python3.9/site-packages/xarray/coding/cftimeindex.py", line 683, in asi8 [ File "/g/data3/hh5/public/apps/miniconda3/envs/analysis3-21.07/lib/python3.9/site-packages/xarray/coding/cftimeindex.py", line 684, in <listcomp> _total_microseconds(exact_cftime_datetime_difference(epoch, date)) File "/g/data3/hh5/public/apps/miniconda3/envs/analysis3-21.07/lib/python3.9/site-packages/xarray/core/resample_cftime.py", line 358, in exact_cftime_datetime_difference seconds = b.replace(microsecond=0) - a.replace(microsecond=0) File "src/cftime/_cftime.pyx", line 1369, in cftime._cftime.datetime.__sub__ TypeError: cannot compute the time difference between dates with different calendars

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  xindexes set incorrectly for mfdataset with dask client and parallel=True 963688125

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

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]);
Powered by Datasette · Queries took 15.232ms · About: xarray-datasette