home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 387771898

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/2109#issuecomment-387771898 https://api.github.com/repos/pydata/xarray/issues/2109 387771898 MDEyOklzc3VlQ29tbWVudDM4Nzc3MTg5OA== 1217238 2018-05-09T15:08:38Z 2018-05-09T15:08:38Z MEMBER

You need to explicitly indicate that you want lazy loading with dask by specifying the chunks keyword argument to open_dataset(), or by calling .chunk() afterwards. If you do that, then yes operations like expand_dims() will be lazy.

Otherwise, files are opened with xarray's built-in lazy loading capabilities, which only supports lazy indexing (expand_dims() could potentially be supported, too, with some effort, but you are really best off switching to dask).

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