home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 965562434

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/3942#issuecomment-965562434 https://api.github.com/repos/pydata/xarray/issues/3942 965562434 IC_kwDOAMm_X845jVBC 460756 2021-11-10T17:17:29Z 2021-11-10T17:49:22Z NONE

I think I've bumped into a symptom of this issue (my issue is described in #5969). And I think #3379 may be another symptom of this issue.

Perhaps I'm biased (because I work with timeseries which only span a few years) but I wonder if xarray should default to encoding time as 'units': 'nanoseconds since 1970-01-01' (to be consistent with np.datetime64[ns]) unless the timeseries includes dates before the year 1677, or after the year 2262 :slightly_smiling_face:? Would that work?

If that's no good, then let's definitely add a note to the documentation to say that it might be a good idea for users to manually specify the encoding for datetimes if they wish to append to Zarrs.

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