home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

4 rows where author_association = "CONTRIBUTOR" and user = 57914115 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: issue_url, reactions, created_at (date), updated_at (date)

issue 3

  • Cannot open dataset with empty list units 2
  • Same files in open_mfdataset() unclear error message 1
  • Fix wrong typing for tolerance in reindex 1

user 1

  • antscloud · 4 ✖

author_association 1

  • CONTRIBUTOR · 4 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
1183323527 https://github.com/pydata/xarray/issues/6781#issuecomment-1183323527 https://api.github.com/repos/pydata/xarray/issues/6781 IC_kwDOAMm_X85GiBWH antscloud 57914115 2022-07-13T14:50:43Z 2022-07-13T14:50:43Z CONTRIBUTOR

I was wondering why the units attribute is parsed this way in the first place ? It seems that this attribute is converted to a Python object (a list), is it xarray that does this or the binding of netcdf4 ?

If it's xarray, wouldn't it be better to just not parse it ?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Cannot open dataset with empty list units 1303371718
1183244993 https://github.com/pydata/xarray/issues/6781#issuecomment-1183244993 https://api.github.com/repos/pydata/xarray/issues/6781 IC_kwDOAMm_X85GhuLB antscloud 57914115 2022-07-13T13:45:20Z 2022-07-13T13:45:20Z CONTRIBUTOR

@antscloud As a workaround you could use keyword argument decode_cf=False in the call to xr.open_dataset. After fixing the units attribute to some reasonable value you can call ds = xr.decode_cf(ds).

Thank you, i'll do this. One could just loop over variables attributes and replace [] by an empty string in this particular case

{
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Cannot open dataset with empty list units 1303371718
1006701763 https://github.com/pydata/xarray/pull/6037#issuecomment-1006701763 https://api.github.com/repos/pydata/xarray/issues/6037 IC_kwDOAMm_X848AQzD antscloud 57914115 2022-01-06T15:56:24Z 2022-01-06T15:56:24Z CONTRIBUTOR

Thank you too for your patience @max-sixty I don't understand where to put the -> None In the test function ? https://github.com/pydata/xarray/blob/118a00b1233db34fe90072ed2e21501337b04b35/xarray/tests/test_dataset.py#L1886

How does mypy can test these types ?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Fix wrong typing for tolerance in reindex 1068680815
828538649 https://github.com/pydata/xarray/issues/5230#issuecomment-828538649 https://api.github.com/repos/pydata/xarray/issues/5230 MDEyOklzc3VlQ29tbWVudDgyODUzODY0OQ== antscloud 57914115 2021-04-28T15:13:51Z 2021-04-28T15:14:16Z CONTRIBUTOR

Thank you for the comment @TomNicholas, if it can help i think this error comes from this particular line : https://github.com/pydata/xarray/blob/master/xarray/core/combine.py#L81 from a missing else statement. Indeed, the concat_dims is empty due to initialization and then raise the error.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Same files in open_mfdataset() unclear error message 869948050

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