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/964#issuecomment-269859010,https://api.github.com/repos/pydata/xarray/issues/964,269859010,MDEyOklzc3VlQ29tbWVudDI2OTg1OTAxMA==,6213168,2016-12-31T10:23:57Z,2016-12-31T10:23:57Z,MEMBER,@shoyer - any plans to add dask support as suggested above?,"{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,170779798
https://github.com/pydata/xarray/pull/964#issuecomment-250908588,https://api.github.com/repos/pydata/xarray/issues/964,250908588,MDEyOklzc3VlQ29tbWVudDI1MDkwODU4OA==,6213168,2016-10-01T11:57:38Z,2016-10-01T11:57:38Z,MEMBER,"I worked around the limitation. It would be nice if apply() did the below automatically!
```
from itertools import chain
from functools import wraps
import dask.array
def dask_kernel(func):
""""""Invoke dask.array.map_blocks(func, *args, **kwds) if at least one
of the arguments is a dask array; else invoke func(*args, **kwds)
""""""
@wraps(func)
def wrapper(*args, **kwds):
if any(isinstance(a, dask.array.Array) for a in chain(args, kwds.values())):
return dask.array.map_blocks(func, *args, **kwds)
else:
return func(*args, **kwds)
return wrapper
```
","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,170779798
https://github.com/pydata/xarray/pull/964#issuecomment-250907376,https://api.github.com/repos/pydata/xarray/issues/964,250907376,MDEyOklzc3VlQ29tbWVudDI1MDkwNzM3Ng==,6213168,2016-10-01T11:27:37Z,2016-10-01T11:49:42Z,MEMBER,"Any hope to get dask support? Even with the limitation of having 1:1 matching between input and output chunks, it would already be tremendously useful
In other words, it should be easy to automatically call dask.array.map_blocks
","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,170779798