home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

3 rows where issue = 619347681 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 3

  • dcherian 1
  • fujiisoup 1
  • DWesl 1

author_association 2

  • MEMBER 2
  • CONTRIBUTOR 1

issue 1

  • utility function to save complex values as a netCDF file · 3 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
633453286 https://github.com/pydata/xarray/issues/4068#issuecomment-633453286 https://api.github.com/repos/pydata/xarray/issues/4068 MDEyOklzc3VlQ29tbWVudDYzMzQ1MzI4Ng== fujiisoup 6815844 2020-05-25T08:36:58Z 2020-05-25T08:36:58Z MEMBER

Thanks @DWesl Maybe better to continue discussion either in #3297. I'll close this issue. Thanks for pointing it out.

@dcherian

Personally, I think the h5netcdf workaround is good enough until there is a CF standard for writing complex numbers.

Agreed. Thanks for your thoughts.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  utility function to save complex values as a netCDF file 619347681
633254713 https://github.com/pydata/xarray/issues/4068#issuecomment-633254713 https://api.github.com/repos/pydata/xarray/issues/4068 MDEyOklzc3VlQ29tbWVudDYzMzI1NDcxMw== dcherian 2448579 2020-05-24T16:18:44Z 2020-05-24T16:18:44Z MEMBER

Personally, I think the h5netcdf workaround is good enough until there is a CF standard for writing complex numbers.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  utility function to save complex values as a netCDF file 619347681
633251217 https://github.com/pydata/xarray/issues/4068#issuecomment-633251217 https://api.github.com/repos/pydata/xarray/issues/4068 MDEyOklzc3VlQ29tbWVudDYzMzI1MTIxNw== DWesl 22566757 2020-05-24T15:53:10Z 2020-05-24T15:53:10Z CONTRIBUTOR

For others reading this issue, the h5netcdf workaround was discussed in #3297, with further discussion on supporting complex numbers in netCDF in cf-convention/cf-conventions#204.

The short version: engine="h5netcdf", invalid_netcdf=True will save these files, but the netCDF-C library doesn't understand the result. Reading with engine="h5netcdf" may be able to round-trip these files, but I haven't checked that.

There is a longer discussion of why netCDF-C doesn't understand these files at Unidata/netcdf-c#267. That specific issue is for booleans, but complex numbers are likely the same.

{
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  utility function to save complex values as a netCDF file 619347681

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