home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 1310901060

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/7273#issuecomment-1310901060 https://api.github.com/repos/pydata/xarray/issues/7273 1310901060 IC_kwDOAMm_X85OIsNE 10194086 2022-11-10T21:16:29Z 2022-11-10T21:16:29Z MEMBER

I suspect there are floating point inaccuracies which can sometimes trip up xarray. But I would also not expect differences when the coords are created with the same piece of code.

Unfortunately your test does not work - it will first align and then do the subtraction... Any of the following should work:

python (d0.y - d1.y).shape == d0.shape d0.y.values == d1.y.values xr.align(d0, d1, join="exact")

If this worked earlier

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