issue_comments: 695436235
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/4427#issuecomment-695436235 | https://api.github.com/repos/pydata/xarray/issues/4427 | 695436235 | MDEyOklzc3VlQ29tbWVudDY5NTQzNjIzNQ== | 6628425 | 2020-09-20T01:23:47Z | 2020-09-20T01:23:47Z | MEMBER | Thanks @andrewpauling -- I do think there's a bug here, but this issue happens to be more complicated than it might seem on the surface :). Xarray standardizes around nanosecond precision for Addressing this fully would be a challenge (we've discussed this at times in the past). It was concluded that for dates outside the representable range that This is a long way of saying, without a fair amount of work (i.e. addressing this issue upstream in pandas) xarray is unlikely to relax its approach for the precision of However, the fact that your example silently results in non-sensical times should be considered a bug; instead, following pandas, I would argue we should raise an error if the dates cannot be represented with nanosecond precision. |
{ "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
702373263 |