home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

2 rows where author_association = "NONE" and issue = 99026442 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

  • wesleybowman 2

issue 1

  • Wall time much greater than CPU time · 2 ✖

author_association 1

  • NONE · 2 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
135510417 https://github.com/pydata/xarray/issues/516#issuecomment-135510417 https://api.github.com/repos/pydata/xarray/issues/516 MDEyOklzc3VlQ29tbWVudDEzNTUxMDQxNw== wesleybowman 3688009 2015-08-27T18:11:43Z 2015-08-27T18:11:43Z NONE

using ncdump -hs, I found the chunk sizes of any of the files to be: _ChunkSizes = 1, 90, 180 ;

Using that, it took even more time:

``` datal = xray.open_mfdataset(filename, chunks={'time':1, 'lat':90, 'lon':180})

In [7]: %time datal.tasmax[:, 360, 720].values CPU times: user 3min 3s, sys: 59.4 s, total: 4min 3s Wall time: 12min 8s ```

I should say that I am using open source data, and therefore do not control how the original data is being chunked. This is also using open_mfdataset on around 100 files

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Wall time much greater than CPU time 99026442
129995032 https://github.com/pydata/xarray/issues/516#issuecomment-129995032 https://api.github.com/repos/pydata/xarray/issues/516 MDEyOklzc3VlQ29tbWVudDEyOTk5NTAzMg== wesleybowman 3688009 2015-08-11T18:01:04Z 2015-08-11T18:01:04Z NONE

Hmm. I moved the uncompressed files to my local hard drive, and I am still getting a lot more wall time than CPU time. 31 seconds would be more than acceptable, but 8 minutes is really pushing it.

%time datal.tasmax[:, 360, 720].values CPU times: user 25.2 s, sys: 5.83 s, total: 31 s Wall time: 8min 1s

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Wall time much greater than CPU time 99026442

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 12.727ms · About: xarray-datasette