home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 133078118

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/542#issuecomment-133078118 https://api.github.com/repos/pydata/xarray/issues/542 133078118 MDEyOklzc3VlQ29tbWVudDEzMzA3ODExOA== 1217238 2015-08-20T17:07:08Z 2015-08-20T17:07:08Z MEMBER

So the issue here is that xray needs to load some arrays into memory as numpy arrays (e.g., to do indexing), but dask arrays don't know how to interact with numpy arrays: https://github.com/blaze/dask/issues/290

You can work around this by manually rechunking:

python with xray.open_mfdataset(...) as ds: ds = ds.chunk() a = ds['x'] * ds['y']

Kind of awkward but it works for now.

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