home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

3 rows where issue = 146975644 and user = 10050469 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

  • fmaussion · 3 ✖

issue 1

  • value scaling wrong in special cases · 3 ✖

author_association 1

  • MEMBER 3
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
208237051 https://github.com/pydata/xarray/issues/822#issuecomment-208237051 https://api.github.com/repos/pydata/xarray/issues/822 MDEyOklzc3VlQ29tbWVudDIwODIzNzA1MQ== fmaussion 10050469 2016-04-11T08:53:43Z 2016-04-11T08:54:20Z MEMBER

Note that ncview also displays the output correctly.

It seems that the problem occurs at the necdf4 level already:

python import netCDF4 import matplotlib.pyplot as plt f = '/home/mowglie/Downloads/20100101120000-ESACCI-L4_GHRSST-SSTdepth-OSTIA-GLOB_LT-v02.0-fv01.1.nc' d = netCDF4.Dataset(f) v = d['analysed_sst'] v.set_auto_maskandscale(False) plt.imshow(v[0, ...], origin='lower') plt.show()

To be compared to the equivalent output from IDL at the netcdf backend level:

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  value scaling wrong in special cases 146975644
207510870 https://github.com/pydata/xarray/issues/822#issuecomment-207510870 https://api.github.com/repos/pydata/xarray/issues/822 MDEyOklzc3VlQ29tbWVudDIwNzUxMDg3MA== fmaussion 10050469 2016-04-08T16:51:25Z 2016-04-08T16:51:25Z MEMBER

For what its worth, I've tested your file with my IDL library, and I get:

IDL> print, min(data), max(data) -54.5300 306.440 IDL> print, TIME_to_STR(time) 01.01.2010 12:00:00

you should fill a report in netcdf4 as @rabernat suggests.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  value scaling wrong in special cases 146975644
207508190 https://github.com/pydata/xarray/issues/822#issuecomment-207508190 https://api.github.com/repos/pydata/xarray/issues/822 MDEyOklzc3VlQ29tbWVudDIwNzUwODE5MA== fmaussion 10050469 2016-04-08T16:43:47Z 2016-04-08T16:43:47Z MEMBER

It seems that the problem is happening at the NetCDF4 level already:

``` python import netCDF4 import numpy as np

f = '/home/mowglie/Downloads/20100101120000-ESACCI-L4_GHRSST-SSTdepth-OSTIA-GLOB_LT-v02.0-fv01.1.nc' d = netCDF4.Dataset(f) da = d['analysed_sst'][:] print(np.max(da), np.min(da)) print(netCDF4.num2date(d['time'][:], d['time'].units)) ```

prints

600.82 -54.53 [datetime.datetime(1947, 5, 12, 9, 58, 14)]

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  value scaling wrong in special cases 146975644

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