Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Separate preprocessor for rolling mean? #157

Open
geek-yang opened this issue Feb 14, 2023 · 0 comments
Open

Separate preprocessor for rolling mean? #157

geek-yang opened this issue Feb 14, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@geek-yang
Copy link
Member

Currently in our preprocessor module, the users can calculate trend and climatology after applying the rolling mean operation first, but they can not get the rolling mean data. For some use cases, the users may want to first apply rolling mean as a low pass filter and use the outputs for the rest of their experiment. So it is necessary to calculate rolling mean in some cases.

Although the calculation of rolling mean is fairly easy via xarray (simply one liner with data, see https://docs.xarray.dev/en/stable/generated/xarray.DataArray.rolling.html), we would like to include it in our pipeline (with fit and transform) as it allows the user to play with different parameters related to rolling mean easily.

This is the same for other built-in preprocessing approaches in xarray.

@geek-yang geek-yang added the enhancement New feature or request label Feb 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant