-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Description
The current documentation for the DataArrayRolling refers to the windows as "exponential window." I think the object uses an unweighted approach (i.e, not exponentially rolling). Maybe this is this is copied over from the RollingExp object?
DataArrayRolling:
xarray/xarray/computation/rolling.py
Lines 280 to 282 in a96ea66
| windows : mapping of hashable to int | |
| A mapping from the name of the dimension to create the rolling | |
| exponential window along (e.g. `time`) to the size of the moving window. |
RollingExp:
xarray/xarray/computation/rolling_exp.py
Lines 58 to 60 in a96ea66
| windows : mapping of hashable to int (or float for alpha type) | |
| A mapping from the name of the dimension to create the rolling | |
| exponential window along (e.g. `time`) to the size of the moving window. |
Similar question for DatasetRolling and Coarsen.
Thanks for any guidance.
p.s, running on linux, python3.9, with xarray 2023.12.0. and on linux, python3.12 with xarray 2025.12.0. Documentation citations are from current main branch.