home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

3 rows where issue = 307318224 and user = 579593 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

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

user 1

  • jswhit · 3 ✖

issue 1

  • Slicing DataArray can take longer than not slicing · 3 ✖

author_association 1

  • NONE 3
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
396317995 https://github.com/pydata/xarray/issues/2004#issuecomment-396317995 https://api.github.com/repos/pydata/xarray/issues/2004 MDEyOklzc3VlQ29tbWVudDM5NjMxNzk5NQ== jswhit 579593 2018-06-11T17:16:43Z 2018-06-11T17:16:43Z NONE

netcdf-c master now includes the same mechanism for strided access of HDF5 files as h5py. If netcdf4-python is linked against netcdf-c >= 4.6.2, performance for strided access should be greatly improved.

{
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Slicing DataArray can take longer than not slicing 307318224
375102231 https://github.com/pydata/xarray/issues/2004#issuecomment-375102231 https://api.github.com/repos/pydata/xarray/issues/2004 MDEyOklzc3VlQ29tbWVudDM3NTEwMjIzMQ== jswhit 579593 2018-03-21T21:29:34Z 2018-03-21T21:29:34Z NONE

Confirmed that the slow performance of netcdf4-python on strided access is due to the way that netcdf-c calls HDF5. There's now an issue on the netcdf-c issue tracker to implement fast strided access for HDF5 files (https://github.com/Unidata/netcdf-c/issues/908).

{
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Slicing DataArray can take longer than not slicing 307318224
375054212 https://github.com/pydata/xarray/issues/2004#issuecomment-375054212 https://api.github.com/repos/pydata/xarray/issues/2004 MDEyOklzc3VlQ29tbWVudDM3NTA1NDIxMg== jswhit 579593 2018-03-21T18:44:14Z 2018-03-21T18:44:14Z NONE

netcdf4-python does reopened[::1, ::10] by making a bunch of calls to the C lib routine nc_get_vara. As pointed out in Unidata/netcdf4-python#680, this is faster than a single call to nc_get_vars (which does strided access, but is very slow). Note that reopened[::1, ::1][:,::10] is very fast, but you have to have enough memory to hold the entire array. I wonder how h5netcdf is reading the data - is it pulling the entire array into memory and then selecting or subset?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Slicing DataArray can take longer than not slicing 307318224

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