home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 682756591

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/4372#issuecomment-682756591 https://api.github.com/repos/pydata/xarray/issues/4372 682756591 MDEyOklzc3VlQ29tbWVudDY4Mjc1NjU5MQ== 2448579 2020-08-28T15:52:03Z 2020-08-28T15:52:03Z MEMBER

So to maintain backward compatibility, we should add that same check python # core dimensions cannot span multiple chunks for axis, dim in enumerate(core_dims, start=-len(core_dims)): if len(data.chunks[axis]) != 1: raise ValueError( "dimension {!r} on {}th function argument to " "apply_ufunc with dask='parallelized' consists of " "multiple chunks, but is also a core dimension. To " "fix, rechunk into a single dask array chunk along " "this dimension, i.e., ``.chunk({})``, but beware " "that this may significantly increase memory usage.".format( dim, n, {dim: -1} ) )

and set allow_rechunk=True.

We could deprecate and remove this check in a couple of versions but I don't know if it's worth the effort...

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