home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

4 rows where author_association = "MEMBER", issue = 547925778 and user = 5821660 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

  • kmuehlbauer · 4 ✖

issue 1

  • broken output of `find_root_and_group` for h5netcdf · 4 ✖

author_association 1

  • MEMBER · 4 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
1010765142 https://github.com/pydata/xarray/issues/3680#issuecomment-1010765142 https://api.github.com/repos/pydata/xarray/issues/3680 IC_kwDOAMm_X848Pw1W kmuehlbauer 5821660 2022-01-12T08:23:37Z 2022-01-12T08:23:37Z MEMBER

A bit more of context:

As it turns out, the temporary fix will be permanent for the time being. This is because h5netcdf aligns with h5py(returning full path) for it's new API. The legacyapi (netCDF4 drop-in) will return single group name (not full path).

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  broken output of `find_root_and_group` for h5netcdf 547925778
577527216 https://github.com/pydata/xarray/issues/3680#issuecomment-577527216 https://api.github.com/repos/pydata/xarray/issues/3680 MDEyOklzc3VlQ29tbWVudDU3NzUyNzIxNg== kmuehlbauer 5821660 2020-01-23T06:36:25Z 2020-01-23T06:36:35Z MEMBER

temporarily fixed by #3618 . This is now tracked in https://github.com/shoyer/h5netcdf/issues/68.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  broken output of `find_root_and_group` for h5netcdf 547925778
573008350 https://github.com/pydata/xarray/issues/3680#issuecomment-573008350 https://api.github.com/repos/pydata/xarray/issues/3680 MDEyOklzc3VlQ29tbWVudDU3MzAwODM1MA== kmuehlbauer 5821660 2020-01-10T11:59:55Z 2020-01-10T11:59:55Z MEMBER

After a bit of further investigation, looks like this is indeed a problem with how h5netcdf retrieves the .name. While netCDF4 gives back just the name of a group h5netcdf gives back the hdf5 name which is the full path to the group.

```python

Your code here

import netCDF4 import h5netcdf import xarray from xarray.backends.common import find_root_and_group root = netCDF4.Dataset("testx.nc", "w", format="NETCDF4") test1 = root.createGroup("test1") test1.createGroup("test2") print(root['test1/test2'].name) root.close() h5n = h5netcdf.File('testx.nc') print(h5n['test1/test2'].name) h5n.close() ```

Output: test2 /test1/test2

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  broken output of `find_root_and_group` for h5netcdf 547925778
572921102 https://github.com/pydata/xarray/issues/3680#issuecomment-572921102 https://api.github.com/repos/pydata/xarray/issues/3680 MDEyOklzc3VlQ29tbWVudDU3MjkyMTEwMg== kmuehlbauer 5821660 2020-01-10T08:09:33Z 2020-01-10T08:09:33Z MEMBER

Good chance that this might be an h5netcdf issue. Can someone double check?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  broken output of `find_root_and_group` for h5netcdf 547925778

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