home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

3 rows where author_association = "MEMBER" and issue = 485988536 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

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

user 2

  • dcherian 2
  • scottyhq 1

issue 1

  • Accessing COG overviews with read_rasterio · 3 ✖

author_association 1

  • MEMBER · 3 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
714692626 https://github.com/pydata/xarray/issues/3269#issuecomment-714692626 https://api.github.com/repos/pydata/xarray/issues/3269 MDEyOklzc3VlQ29tbWVudDcxNDY5MjYyNg== dcherian 2448579 2020-10-22T18:52:31Z 2020-10-22T18:52:31Z MEMBER

looks right to me. Let's try it!

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Accessing COG overviews with read_rasterio 485988536
714684059 https://github.com/pydata/xarray/issues/3269#issuecomment-714684059 https://api.github.com/repos/pydata/xarray/issues/3269 MDEyOklzc3VlQ29tbWVudDcxNDY4NDA1OQ== scottyhq 3924836 2020-10-22T18:38:15Z 2020-10-22T18:38:15Z MEMBER

@dcherian I was just revisiting a use-case for this and realized xr.open_rasterio() does not take **kwargs. http://xarray.pydata.org/en/stable/generated/xarray.open_rasterio.html#xarray.open_rasterio

I think this would be easy to implement because a while back rasterio implemented a keyword argument so that you can do rasterio.open(path, overview_level=3) https://github.com/mapbox/rasterio/issues/1504

So is this just a matter of accepting kwargs in xr.open_rasterio() and passing them through? https://github.com/pydata/xarray/blob/4aa7622b6ff16647df64fe69f39438b7cbe9576c/xarray/backends/rasterio_.py#L241

As seems to be done here for example: https://github.com/pydata/xarray/blob/cc271e61077c543e0f3b1a06ad5e905ea2c91617/xarray/backends/h5netcdf_.py#L164

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Accessing COG overviews with read_rasterio 485988536
526777993 https://github.com/pydata/xarray/issues/3269#issuecomment-526777993 https://api.github.com/repos/pydata/xarray/issues/3269 MDEyOklzc3VlQ29tbWVudDUyNjc3Nzk5Mw== dcherian 2448579 2019-08-30T23:33:14Z 2019-08-30T23:33:14Z MEMBER

That kwarg looks good to me. Can you send in a PR?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Accessing COG overviews with read_rasterio 485988536

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