home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

3 rows where user = 45802786 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

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

issue 2

  • Cannot specify options for pynio engine through backend_kwargs of open_dataset/open_dataarray 2
  • BUG: Pass kwargs to the FileManager for pynio engine (#2380) 1

user 1

  • jonmjoyce · 3 ✖

author_association 1

  • CONTRIBUTOR 3
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
459806530 https://github.com/pydata/xarray/pull/2732#issuecomment-459806530 https://api.github.com/repos/pydata/xarray/issues/2732 MDEyOklzc3VlQ29tbWVudDQ1OTgwNjUzMA== jonmjoyce 45802786 2019-02-01T17:46:21Z 2019-02-01T17:46:21Z CONTRIBUTOR

I would like to, but honestly I'm pretty new to Python and didn't understand how the tests worked. I found the TestPyNio class and assume I would add something there but I currently have no idea how to test in Python. I tested manually with this code: xarray.open_dataset(filename, engine='pynio', backend_kwargs={"format":"grib2"})

I'm sure I can figure it out in time (C# and Java background) but any guidance is appreciated.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  BUG: Pass kwargs to the FileManager for pynio engine (#2380) 405478969
446377804 https://github.com/pydata/xarray/issues/2380#issuecomment-446377804 https://api.github.com/repos/pydata/xarray/issues/2380 MDEyOklzc3VlQ29tbWVudDQ0NjM3NzgwNA== jonmjoyce 45802786 2018-12-11T21:57:38Z 2018-12-11T21:57:38Z CONTRIBUTOR

Thanks for the reply, but unfortunately I don't think the format can be set via options. It is a separate parameter entirely:

def open_file(filename, mode = 'r', options=None, history='', format=''): ... file = _nio.open_file(filename,mode,options,history,format)

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Cannot specify options for pynio engine through backend_kwargs of open_dataset/open_dataarray 353566871
446372498 https://github.com/pydata/xarray/issues/2380#issuecomment-446372498 https://api.github.com/repos/pydata/xarray/issues/2380 MDEyOklzc3VlQ29tbWVudDQ0NjM3MjQ5OA== jonmjoyce 45802786 2018-12-11T21:40:45Z 2018-12-11T21:40:45Z CONTRIBUTOR

I have the same issue but with the "format" parameter in Nio open_file. I don't know of a workaround for it.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Cannot specify options for pynio engine through backend_kwargs of open_dataset/open_dataarray 353566871

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