-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WIP: allow border results in DataArrayRolling.reduce
* When reducing over a rolling window, DataArrayRolling.reduce() only returns values where the complete rolling window is fully conatined within the base array; the remaining locations where the window overlaps the array border are filled with NaN * However, in some situations, it is desirable to obtain values from the reducer function for all locations. This commit adds a keyword argument, `include_border`, to `DataArrayRolling.reduce()` and `DataSetRolling.reduce()` to allow this behavior.
- Loading branch information
Showing
1 changed file
with
35 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters