home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

4 rows where issue = 204550216 and user = 1217238 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

  • shoyer · 4 ✖

issue 1

  • wrong decoding of loaded dataset from nc-file · 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
277306575 https://github.com/pydata/xarray/issues/1244#issuecomment-277306575 https://api.github.com/repos/pydata/xarray/issues/1244 MDEyOklzc3VlQ29tbWVudDI3NzMwNjU3NQ== shoyer 1217238 2017-02-03T17:17:01Z 2017-02-03T17:17:01Z MEMBER

Just to be clear -- you overrode the file on disk while you had it open in another session? Indeed, that is definitely not a recommended workflow, so I'm not surprised things broke. An error would have been friendlier than silent corruption, but maybe the netcdf devs have reasons for this behavior.

Xarray loads data from disk lazily by default, so if you want to overwrite the data on disk you should call .load() or .compute() first. But generally, I recommend always creating new files. Treating data files as immutable makes it much harder to accidentally overwrite the wrong data.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  wrong decoding of loaded dataset from nc-file 204550216
277028795 https://github.com/pydata/xarray/issues/1244#issuecomment-277028795 https://api.github.com/repos/pydata/xarray/issues/1244 MDEyOklzc3VlQ29tbWVudDI3NzAyODc5NQ== shoyer 1217238 2017-02-02T17:43:56Z 2017-02-02T17:43:56Z MEMBER

@SpghttCd These are underlying C libraries used by netCDF4-python. For example, on my machine: ``` In [1]: import netCDF4

In [2]: netCDF4.hdf5libversion Out[2]: '1.8.17'

In [3]: netCDF4.netcdf4libversion Out[3]: '4.4.1' ```

Please check if you get different data just using netCDF4, in which case we can report the issue upstream.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  wrong decoding of loaded dataset from nc-file 204550216
276826112 https://github.com/pydata/xarray/issues/1244#issuecomment-276826112 https://api.github.com/repos/pydata/xarray/issues/1244 MDEyOklzc3VlQ29tbWVudDI3NjgyNjExMg== shoyer 1217238 2017-02-02T00:14:41Z 2017-02-02T00:14:41Z MEMBER

Are you sure that the only difference is the version of xarray? This feels like a difference in the underlying libraries -- xarray doesn't do any decoding for data that is stored as doubles without scale and add_offset.

If you're using netCDF4-python to read the data (which is the default), could you please check the versions of netCDF4-python, libnetcdf and hdf5? That would help track down if this is an xarray issue or an issue with an underlying library..

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  wrong decoding of loaded dataset from nc-file 204550216
276713153 https://github.com/pydata/xarray/issues/1244#issuecomment-276713153 https://api.github.com/repos/pydata/xarray/issues/1244 MDEyOklzc3VlQ29tbWVudDI3NjcxMzE1Mw== shoyer 1217238 2017-02-01T16:54:40Z 2017-02-01T16:54:40Z MEMBER

Can you report what the raw dataset looks like, either with ncdump -h or xr.open_dataset(filename).info() (on xarray v0.9)?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  wrong decoding of loaded dataset from nc-file 204550216

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