home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 903347552

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/pull/5704#issuecomment-903347552 https://api.github.com/repos/pydata/xarray/issues/5704 903347552 IC_kwDOAMm_X8411_1g 1217238 2021-08-22T23:27:45Z 2021-08-22T23:27:45Z MEMBER

The reason why open_mfdataset always uses dask is because otherwise it would not be lazy: the netCDF files would be immediately read into memory as NumPy arrays. open_dataset uses Xarray's own internal lazy indexing machinery, but that machinery doesn't (yet) support lazy concatenation or broadcasting, so it doesn't suffice for open_mfdataset.

We certainly could make a similar change to this, but I would not do so by default. Or I would add support for lazy concatenation into xarray's lazy indexing, and then we could slowly roll out a breaking change (with appropriate FutureWarning, etc).

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