home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

2 rows where author_association = "NONE", issue = 383057458 and user = 2622379 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

  • jnhansen · 2 ✖

issue 1

  • Lock related problem in on travis-ci but not on local machine · 2 ✖

author_association 1

  • NONE · 2 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
445524755 https://github.com/pydata/xarray/issues/2560#issuecomment-445524755 https://api.github.com/repos/pydata/xarray/issues/2560 MDEyOklzc3VlQ29tbWVudDQ0NTUyNDc1NQ== jnhansen 2622379 2018-12-09T10:06:24Z 2018-12-09T10:06:24Z NONE

I have done a bit more testing on this, and I believe the issue may not necessarily be with xarray but with rasterio (disclaimer: I haven't tested your pull request yet).

I can reproduce the following on Ubuntu and on Travis CI. On Mac OS none of these errors occur.

Minimum example:

python import xarray as xr import numpy as np import rasterio # The rasterio import makes the last line of this code fail. ds = xr.Dataset() ds['data'] = (('y', 'x'), np.ones((10, 10))) ds.to_netcdf('test.nc', engine='netcdf4')

I was able to fix the error by prepending a

python import netCDF4

at the very top of the script.

A very similar thing happens with engine='h5netcdf'. The same script works without rasterio, fails with rasterio, and can be fixed by inserting import h5netcdf at the top of the script.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Lock related problem in on travis-ci but not on local machine 383057458
445270674 https://github.com/pydata/xarray/issues/2560#issuecomment-445270674 https://api.github.com/repos/pydata/xarray/issues/2560 MDEyOklzc3VlQ29tbWVudDQ0NTI3MDY3NA== jnhansen 2622379 2018-12-07T15:39:05Z 2018-12-07T15:39:05Z NONE

I am having the exact same problem. Have you found a solution/workaround?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Lock related problem in on travis-ci but not on local machine 383057458

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