home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

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

  • snowman2 2

issue 1

  • rio.crs seems to misbehave with geopandas.to_crs · 2 ✖

author_association 1

  • CONTRIBUTOR · 2 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
924395904 https://github.com/pydata/xarray/issues/5782#issuecomment-924395904 https://api.github.com/repos/pydata/xarray/issues/5782 IC_kwDOAMm_X843GSmA snowman2 8699967 2021-09-21T21:24:03Z 2021-09-21T21:24:12Z CONTRIBUTOR

xr.open_rasterio() is being used earlier in the pipeline

What issues do you have if you change to use rioxarray.open_rasterio?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  rio.crs seems to misbehave with geopandas.to_crs 991857313
924395141 https://github.com/pydata/xarray/issues/5782#issuecomment-924395141 https://api.github.com/repos/pydata/xarray/issues/5782 IC_kwDOAMm_X843GSaF snowman2 8699967 2021-09-21T21:23:01Z 2021-09-21T21:23:01Z CONTRIBUTOR

This appears to not be an xarray issue since the code uses open_dataset and the rio.crs accessor. The rio.crs accessor is from rioxarray. From what I can tell, the issue has to do with the data is stored in the netCDF file: https://corteva.github.io/rioxarray/stable/getting_started/crs_management.html

My guess is that there is an attribute named crs with the contents +init=EPSG:XXXX. If that is the case, I recommend using rioxarray to do:

python data.rio.write_crs("ESPG:XXXX", inplace=True)

Hopefully this is helpful.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  rio.crs seems to misbehave with geopandas.to_crs 991857313

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