home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

6 rows where issue = 1583216781 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 4

  • ethanrd 2
  • dcherian 2
  • dopplershift 1
  • danhamill 1

author_association 3

  • NONE 3
  • MEMBER 2
  • CONTRIBUTOR 1

issue 1

  • contiguous time axis · 6 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
1449348940 https://github.com/pydata/xarray/issues/7525#issuecomment-1449348940 https://api.github.com/repos/pydata/xarray/issues/7525 IC_kwDOAMm_X85WY09M danhamill 11522898 2023-03-01T04:59:58Z 2023-03-01T04:59:58Z NONE

Hey!

Thanks for the thoughts. Took me a wile to realize the edge array and the time coordinates aren't the same thing. The time coordinates are really labels and the edge array is calculated from it.

Not sure I agree with the default calculation as the mid point of the time coordinate labels, but I think that is a battle I won't take up.

+1 for supporting this kind of coordinate attribute in xarray. Based on the other issues linked here, it seems it still has not been implemented?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  contiguous time axis  1583216781
1449074103 https://github.com/pydata/xarray/issues/7525#issuecomment-1449074103 https://api.github.com/repos/pydata/xarray/issues/7525 IC_kwDOAMm_X85WXx23 dcherian 2448579 2023-02-28T23:17:08Z 2023-02-28T23:17:08Z MEMBER

Thanks @dopplershift and @ethanrd . It seems like it's interpreting the absence of an attribute (!).

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  contiguous time axis  1583216781
1448491096 https://github.com/pydata/xarray/issues/7525#issuecomment-1448491096 https://api.github.com/repos/pydata/xarray/issues/7525 IC_kwDOAMm_X85WVjhY ethanrd 673250 2023-02-28T16:34:36Z 2023-02-28T16:34:36Z NONE

So, I believe the results you are seeing above are the expected results with the edge value half way between neighboring coordinate values.

{
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  contiguous time axis  1583216781
1448488762 https://github.com/pydata/xarray/issues/7525#issuecomment-1448488762 https://api.github.com/repos/pydata/xarray/issues/7525 IC_kwDOAMm_X85WVi86 ethanrd 673250 2023-02-28T16:32:58Z 2023-02-28T16:32:58Z NONE

If cell bounds/edges are not provided with a coordinate variable, the coordinate values are assumed to represent the center points of a set of contiguous cells. In this default case, the cell edges can be represented as an (n+1) sized array with all but the first and last values shared between neighboring cells. In the non-contiguous case, the bounds/edges must be represented as an (n,2) sized array.

Looks like there's already an xarray issue (#1475 ) on handling cell bounds.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  contiguous time axis  1583216781
1448430261 https://github.com/pydata/xarray/issues/7525#issuecomment-1448430261 https://api.github.com/repos/pydata/xarray/issues/7525 IC_kwDOAMm_X85WVUq1 dopplershift 221526 2023-02-28T15:57:16Z 2023-02-28T15:57:16Z CONTRIBUTOR

@ethanrd @haileyajohnson @tdrwenski any thoughts on the above question?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  contiguous time axis  1583216781
1447570204 https://github.com/pydata/xarray/issues/7525#issuecomment-1447570204 https://api.github.com/repos/pydata/xarray/issues/7525 IC_kwDOAMm_X85WSCsc dcherian 2448579 2023-02-28T04:48:23Z 2023-02-28T04:48:23Z MEMBER

Presumably there is some attribute that netcdf-Java is interpreting. It's not clear to me what that is.

Perhaps @dopplershift has an idea.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  contiguous time axis  1583216781

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