Skip to content

Computing a weighted rolling average #6761

Answered by dcherian
corakingdon asked this question in Q&A
Discussion options

You must be logged in to vote

The answer to not iterating over rolling and coarsen objects is usually rolling.construct. This will give you a Xarray object with an "expanded" view of the data and then you can run weighted on that.

This tutorial should be useful.

Replies: 2 comments 9 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
9 replies
@corakingdon
Comment options

@corakingdon
Comment options

@dcherian
Comment options

@corakingdon
Comment options

@corakingdon
Comment options

Answer selected by corakingdon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants