home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 1254983291

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/7065#issuecomment-1254983291 https://api.github.com/repos/pydata/xarray/issues/7065 1254983291 IC_kwDOAMm_X85KzYZ7 4160723 2022-09-22T12:54:43Z 2022-09-22T12:54:43Z MEMBER

The problem is that I tried to merge with join='override' but it was still taking a long time. Probably I wasn't using the right order.

Not 100% sure but maybe xr.merge loads all the data from your datasets and performs some equality checks. Perhaps you could see how much time it takes after loading all the data, or try different xr.merge(compat=) values?

Before closing, just a curiosity: in this corner case shouldn't xarray cast automatically the lat,lon coordinate arrays to the same dtype or is it a dangerous assumption?

We already do this for label indexers that are passed to .sel(). However, for alignment I think that it would require re-building an index for every cast coordinate, which may be expensive and is probably no ideal if done automatically.

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