home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 73289825

This data as json

html_url issue_url id node_id user created_at updated_at author_association body reactions performed_via_github_app issue
https://github.com/pydata/xarray/issues/316#issuecomment-73289825 https://api.github.com/repos/pydata/xarray/issues/316 73289825 MDEyOklzc3VlQ29tbWVudDczMjg5ODI1 1217238 2015-02-06T18:42:32Z 2015-02-06T18:42:32Z MEMBER

It looks like netcdftime (part of the netCDF4 package) can parse this string correctly, so we should probably fall back to using that:

In [26]: netcdftime.num2date(0, 'hours since 1981-1-10 0') Out[26]: datetime.datetime(1981, 1, 10, 0, 0)

The other possibility is adding a datetime_format argument to open_dataset.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  56817968
Powered by Datasette · Queries took 0.684ms · About: xarray-datasette