home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

2 rows where issue = 148876551 and user = 8363752 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

  • caiostringari · 2 ✖

issue 1

  • Issue with GFS time reference · 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
211471850 https://github.com/pydata/xarray/issues/827#issuecomment-211471850 https://api.github.com/repos/pydata/xarray/issues/827 MDEyOklzc3VlQ29tbWVudDIxMTQ3MTg1MA== caiostringari 8363752 2016-04-18T16:54:57Z 2016-04-18T16:54:57Z NONE

I would rather stick only with xarray, but iris solved the issue for now...

Another alternative is to use NCO an do something like:ncatted -O -a units,time,o,c,'days since 0001-01-01 00:00:00'

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Issue with GFS time reference 148876551
211120008 https://github.com/pydata/xarray/issues/827#issuecomment-211120008 https://api.github.com/repos/pydata/xarray/issues/827 MDEyOklzc3VlQ29tbWVudDIxMTEyMDAwOA== caiostringari 8363752 2016-04-17T21:36:09Z 2016-04-17T21:36:09Z NONE

ds.time.encoding results in

{'dtype': dtype('float64'), 'original_shape': (81,), 'source': 'http://nomads.ncep.noaa.gov:9090/dods/gfs_0p25/gfs20160417/gfs_0p25_00z', 'units': u'days since 1-1-1 00:00:0.0'}

I tried to use ds.to_netcdf('filename.nc', encoding={'time': {'units': u'days since 1-1-1 00:00:0.0'}}), but ncdump still shows "time" as having "days since 2001-01-01" as reference time:

``` double time(time) ; string time:grads_dim = "t" ; string time:grads_mapping = "linear" ; string time:grads_size = "81" ; string time:grads_min = "00z17apr2016" ; string time:grads_step = "3hr" ; string time:long_name = "time" ; string time:minimum = "00z17apr2016" ; string time:maximum = "00z27apr2016" ; time:resolution = 0.125f ; string time:units = "days since 2001-01-01" ; time:calendar = "proleptic_gregorian" ;

```

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Issue with GFS time reference 148876551

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