Skip to content

temporal group average: custom frequencies #413

Discussion options

You must be logged in to vote

@arfriedman thank you for your interest in using xCDAT!

  1. If your input is daily time series and you are getting 5-day running average, I think xarray's rolling could be used (example).

  2. However, when your input is monthly and you take 5-month average by using the xarray's rolling, I guess the 5-month average is mean of 5 monthly time steps without considering weighting for different length of included months.

  3. When your input is daily and you are getting 5 month running average, I think separated steps are needed for 1) getting monthly average from daily, 2) getting 5 month running average from monthly mean.

I agree to @pochedls that we don't have a built-in function for above 2 and …

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by arfriedman
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants