home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

4 rows where issue = 307224717 and user = 9655353 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

  • JanisGailis · 4 ✖

issue 1

  • Unexpected decoded time in xarray >= 0.10.1 · 4 ✖

author_association 1

  • NONE 4
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
374956179 https://github.com/pydata/xarray/issues/2002#issuecomment-374956179 https://api.github.com/repos/pydata/xarray/issues/2002 MDEyOklzc3VlQ29tbWVudDM3NDk1NjE3OQ== JanisGailis 9655353 2018-03-21T14:27:57Z 2018-03-21T14:27:57Z NONE

You have just reproduced the issue.

The correct datetime values are in the filenames. So, you open two files, one from 1991-09-01T12:00:00.00 and the other from 1991-09-02T12:00:00.00, but the decoded time dimension becomes: array(['1981-01-01T00:00:00.564166656', '1980-12-31T23:59:58.707073024'], dtype='datetime64[ns]')

Which is exactly the problem I'm facing.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Unexpected decoded time in xarray >= 0.10.1 307224717
374951019 https://github.com/pydata/xarray/issues/2002#issuecomment-374951019 https://api.github.com/repos/pydata/xarray/issues/2002 MDEyOklzc3VlQ29tbWVudDM3NDk1MTAxOQ== JanisGailis 9655353 2018-03-21T14:13:35Z 2018-03-21T14:13:35Z NONE

Thanks for looking into this!

I did try 0.10.2, same result as 0.10.1.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Unexpected decoded time in xarray >= 0.10.1 307224717
374922820 https://github.com/pydata/xarray/issues/2002#issuecomment-374922820 https://api.github.com/repos/pydata/xarray/issues/2002 MDEyOklzc3VlQ29tbWVudDM3NDkyMjgyMA== JanisGailis 9655353 2018-03-21T12:39:40Z 2018-03-21T12:39:40Z NONE

Actual data can be retrieved from here: ftp://anon-ftp.ceda.ac.uk/neodc/esacci/sst/data/lt/Analysis/L4/v01.1

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Unexpected decoded time in xarray >= 0.10.1 307224717
374920483 https://github.com/pydata/xarray/issues/2002#issuecomment-374920483 https://api.github.com/repos/pydata/xarray/issues/2002 MDEyOklzc3VlQ29tbWVudDM3NDkyMDQ4Mw== JanisGailis 9655353 2018-03-21T12:29:28Z 2018-03-21T12:29:28Z NONE

1859 seems to be related.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Unexpected decoded time in xarray >= 0.10.1 307224717

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