home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

1 row where issue = 464315727 and user = 5852283 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

  • andrew-c-ross · 1 ✖

issue 1

  • Error in to_netcdf() · 1 ✖

author_association 1

  • CONTRIBUTOR 1
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
508833311 https://github.com/pydata/xarray/issues/3080#issuecomment-508833311 https://api.github.com/repos/pydata/xarray/issues/3080 MDEyOklzc3VlQ29tbWVudDUwODgzMzMxMQ== andrew-c-ross 5852283 2019-07-05T18:23:03Z 2019-07-05T18:23:03Z CONTRIBUTOR

I think you're right, this is nearly the same issue as #2850. Your dataset has an attribute named _NCProperties which is one of the hidden/forbidden attributes.

If I remove the attribute: del dsSel.attrs['_NCProperties']

dsSel.to_netcdf(outnc) then works for me with no errors.

You can also delete the attribute on ds instead and subsequent selections should also work.

As an aside, if I run ncdump -h https://pavics.ouranos.ca/twitcher/ows/proxy/thredds/dodsC/birdhouse/cccs_portal/indices/Final/BCCAQv2/tg_mean/YS/rcp26/simulations/BCCAQv2+ANUSPLIN300_bcc-csm1-1_historical+rcp26_r1i1p1_1950-2100_tg_mean_YS.nc "_NCProperties" doesn't show up in the attributes, but I assume this is because ncdump hides it and not because it gets added by xarray or netcdf4. If that's not the case it could be a bug in xarray or netcdf4.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Error in to_netcdf() 464315727

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