home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

3 rows where author_association = "NONE" and issue = 422903285 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

  • hellkite500 3

issue 1

  • to_netcdf() fails to write if input is read from netcdf3_classic · 3 ✖

author_association 1

  • NONE · 3 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
477653931 https://github.com/pydata/xarray/issues/2822#issuecomment-477653931 https://api.github.com/repos/pydata/xarray/issues/2822 MDEyOklzc3VlQ29tbWVudDQ3NzY1MzkzMQ== hellkite500 5186647 2019-03-28T15:48:04Z 2019-03-28T15:48:04Z NONE

Interesting! I wonder why using the netCDF4 python interface works fine with this scenario. It must not be using the nccopy code.

I will see if I can test a newer netcdf library. This is definitely an edge case, but thanks for providing a workaround!

The netCDF file is an excerpt from a hydrology water modeling input file. Definitely a bit of legacy workflows and files involved.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  to_netcdf() fails to write if input is read from netcdf3_classic 422903285
474907748 https://github.com/pydata/xarray/issues/2822#issuecomment-474907748 https://api.github.com/repos/pydata/xarray/issues/2822 MDEyOklzc3VlQ29tbWVudDQ3NDkwNzc0OA== hellkite500 5186647 2019-03-20T16:13:43Z 2019-03-20T16:13:43Z NONE

minimal_example.tar.gz Here is a netcdf file and the minimal code to produce AttributeError: NetCDF: String match to name in use

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  to_netcdf() fails to write if input is read from netcdf3_classic 422903285
474837398 https://github.com/pydata/xarray/issues/2822#issuecomment-474837398 https://api.github.com/repos/pydata/xarray/issues/2822 MDEyOklzc3VlQ29tbWVudDQ3NDgzNzM5OA== hellkite500 5186647 2019-03-20T13:50:07Z 2019-03-20T13:50:07Z NONE

with xr.open_dataset('some_netcdf_classic_file') as ds: data = ds # do something with data data.to_netcdf('some_new_file', 'w') or

``` with xr.open_dataset('some_netcdf_classic_file') as ds: data = ds.load()

do something with data

data.to_netcdf('some_new_file', 'w') ```

I just tried both of these in a minimal example and I still get the same exception.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  to_netcdf() fails to write if input is read from netcdf3_classic 422903285

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