home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

2 rows where issue = 823418135 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

  • scottyhq 1
  • snowman2 1

author_association 2

  • CONTRIBUTOR 1
  • MEMBER 1

issue 1

  • Example documentation in open_rasterio · 2 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
796092118 https://github.com/pydata/xarray/issues/5005#issuecomment-796092118 https://api.github.com/repos/pydata/xarray/issues/5005 MDEyOklzc3VlQ29tbWVudDc5NjA5MjExOA== snowman2 8699967 2021-03-10T20:57:09Z 2021-03-10T20:57:09Z CONTRIBUTOR

Thanks for mentioning that. For rioxarray, the fix is: python transform = da.rio.transform()

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Example documentation in open_rasterio 823418135
796044411 https://github.com/pydata/xarray/issues/5005#issuecomment-796044411 https://api.github.com/repos/pydata/xarray/issues/5005 MDEyOklzc3VlQ29tbWVudDc5NjA0NDQxMQ== scottyhq 3924836 2021-03-10T20:25:41Z 2021-03-10T20:28:16Z MEMBER

Thanks @gabriel-abrahao good catch! the docs are definitely outdated here and need to be changed. This has been brought up before here https://github.com/pydata/xarray/issues/3185#issuecomment-574215734

You can either do what you suggested or simply transform = Affine(*da.transform) https://github.com/pydata/xarray/blob/12b4480ff2bde696142ca850275cdcc85ca0fbc9/xarray/tests/test_backends.py#L4468

A PR to update the documentation would be welcome. It'd be just a one-line fix here: https://github.com/pydata/xarray/blob/d2582c2f8811a3bd527d47c945b1cccd4983a1d3/xarray/backends/rasterio_.py#L179

cc @snowman2 the docstring for open_rasterio has the same issue currently in rioxarray https://github.com/corteva/rioxarray/blob/63ce87f92835897d46aaa270f5ec07aca4e72cda/rioxarray/_io.py#L653

{
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Example documentation in open_rasterio 823418135

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