SciTools/iris — pull request #1495 by lbdreyer (2014-12-10 13:31:09+00:00)
Title: Change to ensure rolling window kwargs are passed into aggregator

Currently, rolling window accepts "Aggregator and aggregation function keyword arguments" but it doesn't pass these into aggregator.aggregate(). Instead it creates and uses a new dictionary called newkwargs:
aggregator.aggregate(rolling_window_data,axis=dimension + 1,**newkwargs)

This update makes newkwargs a copy of kwargs and includes a test.