home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 240957095

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/975#issuecomment-240957095 https://api.github.com/repos/pydata/xarray/issues/975 240957095 MDEyOklzc3VlQ29tbWVudDI0MDk1NzA5NQ== 10194086 2016-08-19T08:17:28Z 2016-08-19T08:17:28Z MEMBER

Yes, definitely. However, the documentation states that we should get back a netcdftime.datetime object when we are out of these bounds (http://xarray.pydata.org/en/stable/time-series.html#creating-datetime64-data). This only worked for (3) and not for (1). Thus only when the date was < 1678 and not for > 2262. I have not looked into why this occurs.

In my example (2) it returned a working datetime64[ns] object by wrapping around the year, which looks like an overflow problem. I also haven't looked into where this happens (xarray or netcdftime or ...), but this feels a bit dangerous to me.

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