The test_rolling_wrapped_dask tests in test_dataarray.py are failing with dask master, e.g., as seen here:
https://travis-ci.org/pydata/xarray/jobs/527936531
I reproduced this locally. git bisect identified the culprit as dask/dask#4756.
The source of this issue on the xarray side appears to be these lines:
|
if isinstance(padded.data, dask_array_type): |
|
values = dask_rolling_wrapper(func, padded, |
|
window=self.window, |
|
min_count=min_count, |
|
axis=axis) |
In particular, we are currently padded as an xarray.DataArray object, not a dask array. Changing this to padded.data shows that passing an actual dask array to dask_array_ops.rolling_window results in failing tests.
@fujiisoup @jhamman any idea what's going on here?
The
test_rolling_wrapped_dasktests intest_dataarray.pyare failing with dask master, e.g., as seen here:https://travis-ci.org/pydata/xarray/jobs/527936531
I reproduced this locally.
git bisectidentified the culprit as dask/dask#4756.The source of this issue on the xarray side appears to be these lines:
xarray/xarray/core/rolling.py
Lines 287 to 291 in dd99b7d
In particular, we are currently
paddedas an xarray.DataArray object, not a dask array. Changing this topadded.datashows that passing an actual dask array todask_array_ops.rolling_windowresults in failing tests.@fujiisoup @jhamman any idea what's going on here?