home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

5 rows where issue = 1308176241 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 2
  • lassiterdc 2
  • andersy005 1

author_association 2

  • MEMBER 3
  • NONE 2

issue 1

  • PermissionError: [Errno 13] Permission denied · 5 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
1187959131 https://github.com/pydata/xarray/issues/6805#issuecomment-1187959131 https://api.github.com/repos/pydata/xarray/issues/6805 IC_kwDOAMm_X85GztFb lassiterdc 64621312 2022-07-18T17:57:35Z 2022-07-18T17:57:35Z NONE

I can't believe I forgot the asterisk!!! Thank you for catching that.

{
    "total_count": 2,
    "+1": 2,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  PermissionError: [Errno 13] Permission denied 1308176241
1187944534 https://github.com/pydata/xarray/issues/6805#issuecomment-1187944534 https://api.github.com/repos/pydata/xarray/issues/6805 IC_kwDOAMm_X85GzphW dcherian 2448579 2022-07-18T17:53:57Z 2022-07-18T17:53:57Z MEMBER

Ah you should be able to pass "data/*" too directly to open_mfdataset

{
    "total_count": 2,
    "+1": 2,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  PermissionError: [Errno 13] Permission denied 1308176241
1187922418 https://github.com/pydata/xarray/issues/6805#issuecomment-1187922418 https://api.github.com/repos/pydata/xarray/issues/6805 IC_kwDOAMm_X85GzkHy andersy005 13301940 2022-07-18T17:47:18Z 2022-07-18T17:47:18Z MEMBER

@lassiterdc, in your example above, f_in_ncs is just a string and you are passing this string to xr.open_mfdataset() which i don't think knows what to do with it.

python f_in_ncs = "data/"

have you tried retrieving the list of all files under "data/" via the glob module?

```python import glob f_in_ncs = sorted(glob.glob("data/*.nc"))

mf_ds = xr.open_mfdataset(f_in_ncs, concat_dim = "time", chunks={'outlat':3500, 'outlon':7000, 'time':50}, combine = "nested", engine = 'netcdf4') ```

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  PermissionError: [Errno 13] Permission denied 1308176241
1187910591 https://github.com/pydata/xarray/issues/6805#issuecomment-1187910591 https://api.github.com/repos/pydata/xarray/issues/6805 IC_kwDOAMm_X85GzhO_ lassiterdc 64621312 2022-07-18T17:42:14Z 2022-07-18T17:42:14Z NONE

I just edited the original post to show that xr.open_dataset works. I hope that is adequate to show that the issue is with xarray and not netcdf4.Dataset.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  PermissionError: [Errno 13] Permission denied 1308176241
1187693692 https://github.com/pydata/xarray/issues/6805#issuecomment-1187693692 https://api.github.com/repos/pydata/xarray/issues/6805 IC_kwDOAMm_X85GysR8 dcherian 2448579 2022-07-18T16:13:18Z 2022-07-18T16:13:18Z MEMBER

Can you try opening it directly with netcdf4.Dataset please? If that does not work, then please raise an issue with that package.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  PermissionError: [Errno 13] Permission denied 1308176241

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