home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 1449714522

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/7516#issuecomment-1449714522 https://api.github.com/repos/pydata/xarray/issues/7516 1449714522 IC_kwDOAMm_X85WaONa 1492047 2023-03-01T09:43:27Z 2023-03-01T09:43:27Z CONTRIBUTOR

sel = (dsx["longitude"] > 0) & (dsx["longitude"] < 100) sel.compute() This "compute" finishes and takes more than 80sec on both versions with a huge memory consumption (it loads the 4 coordinates and the result itself).

I know xarray has to keep more information regarding coordinates and dimensions but doing this (just dask arrays) : sel2 = (dsx["longitude"].data > 0) & (dsx["longitude"].data < 100) sel2.compute() Takes less than 6 seconds.

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