home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 897609802

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/5691#issuecomment-897609802 https://api.github.com/repos/pydata/xarray/issues/5691 897609802 IC_kwDOAMm_X841gHBK 4160723 2021-08-12T12:46:22Z 2021-08-12T12:46:22Z MEMBER

So the issue was that #3153 doesn't work well with multi-indexes that don't like numpy arrays nor even numpy scalars given as labels. Previously it worked because of multi-index virtual coordinates, i.e., the dtype of multi-index levels was ignored when internally re-organizing the indexers passed to .sel in xarray. However, this is not the case anymore as we are currently dropping virtual coordinates by real coordinates in the context of xarray's explicit indexes refactoring.

This should be fixed in #5692 (https://github.com/pydata/xarray/pull/5692/commits/a551c7f05abf90a492fb59068b59ebb2bac8cb4c), although #3153 still doesn't address the case of multi-index level coordinates with float32 values.

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