Treatment of small chunks in dask_rolling_mean
If there are chunks in the input to dask_rolling_mean
that are smaller than the bandwidth, dask's map_overlap
will perform a rechunking to ensure that the neighboring blocks have sufficient data to provide the overlap.
Unfortunately, this is not reflected in the chunks that are reported for the result of map_overlap
, which leads to wrong chunking information and broadcasting problems down the line.