home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

3 rows where issue = 1619835929 and user = 868027 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

  • DocOtak · 3 ✖

issue 1

  • dataset attrs list of strings to_netcdf() error · 3 ✖

author_association 1

  • CONTRIBUTOR 3
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
1472454634 https://github.com/pydata/xarray/issues/7608#issuecomment-1472454634 https://api.github.com/repos/pydata/xarray/issues/7608 IC_kwDOAMm_X85Xw9_q DocOtak 868027 2023-03-16T17:57:28Z 2023-03-16T17:57:28Z CONTRIBUTOR

I think 1d arrays of other data types are allowed... it's just that the 1d dim value is hidden from you in attributes.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  dataset attrs list of strings to_netcdf() error 1619835929
1472379128 https://github.com/pydata/xarray/issues/7608#issuecomment-1472379128 https://api.github.com/repos/pydata/xarray/issues/7608 IC_kwDOAMm_X85Xwrj4 DocOtak 868027 2023-03-16T17:12:43Z 2023-03-16T17:12:43Z CONTRIBUTOR

@dcherian would the following be a good place to put this check/raise? https://github.com/pydata/xarray/blob/b36819b1ed4f74ba8e254f2baa790303ef350e4a/xarray/backends/netcdf3.py#L75-L84

scipy has a short list of allowed attr dtypes, would we want our check to be in the form of an allow list? I guess does scipy implement all that is allowed in netcdf3?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  dataset attrs list of strings to_netcdf() error 1619835929
1464795339 https://github.com/pydata/xarray/issues/7608#issuecomment-1464795339 https://api.github.com/repos/pydata/xarray/issues/7608 IC_kwDOAMm_X85XTwDL DocOtak 868027 2023-03-11T02:19:32Z 2023-03-11T02:19:32Z CONTRIBUTOR

Are you able to install the netcdf4 package in your environment? If my memory serves, the scipy netCDF implementation only supports netCDF3 and array of strings in attributes are a netcdf4 feature.

{
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  dataset attrs list of strings to_netcdf() error 1619835929

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