home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 1133765720

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/6191#issuecomment-1133765720 https://api.github.com/repos/pydata/xarray/issues/6191 1133765720 IC_kwDOAMm_X85Dk-RY 5635139 2022-05-21T20:43:08Z 2022-05-21T20:43:08Z MEMBER

I sorted out my M1 python installation and can reproduce: In [21]: ds_r.time Out[21]: <xarray.DataArray 'time' (nt: 10)> array(['2022-01-01T00:00:00.000000000', '2022-01-02T00:00:00.000000000', '2022-01-03T00:00:00.000000000', '2022-01-04T00:00:00.000000000', '2022-01-01T00:00:00.000000000', '2022-01-06T00:00:00.000000000', # Note the first value on this line! '2022-01-07T00:00:00.000000000', '2022-01-08T00:00:00.000000000', '2022-01-09T00:00:00.000000000', '2022-01-10T00:00:00.000000000'], dtype='datetime64[ns]') Dimensions without coordinates: nt

It's quite surprising we get '2022-01-01T00:00:00.000000000' rather than NaT — why the beginning of the year?!

I suspect it's not directly an xarray issue given Xarray is only python code, and python code does not directly branch by CPU. I've frequently had issues like this where it's difficult to understand which library is responsible, I'd welcome any more investigation here.

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