# Creating a animation using moving 10 day averages

**URL:** https://forum.atmospherictoolbox.org/t/creating-a-animation-using-moving-10-day-averages/92
**Category:** Uncategorized
**Created:** [March 21, 2020, 4:44am UTC](https://forum.atmospherictoolbox.org/t/creating-a-animation-using-moving-10-day-averages/92 "2020-03-21T04:44:14Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![jpoetzscher](https://forum.atmospherictoolbox.org/letter_avatar_proxy/v4/letter/j/e9c0ed/32.png) [@jpoetzscher](https://forum.atmospherictoolbox.org/u/jpoetzscher)
#### Post date: [March 21, 2020, 4:44am UTC](https://forum.atmospherictoolbox.org/t/creating-a-animation-using-moving-10-day-averages/92/1 "2020-03-21T04:44:14Z")

</div>

Hi Sander,  
I was wondering how you would recommend creating a moving 10 day average to create an animation highlighting emission levels over a. certain period? (like this: [https://www.youtube.com/watch?v=ARpxtAKsORw](https://www.youtube.com/watch?v=ARpxtAKsORw)) I could do it by using by merging my daily files as so: Jan 1 - Jan 10, Jan 2 - Jan 11 etc but I feel this would be cumbersome and inefficient. Is there a better way to do this maybe somehow incorporate time values into my monthly averages?

---

<div class="post-metadata">

### Author: ![sander.niemeijer](https://forum.atmospherictoolbox.org/user_avatar/forum.atmospherictoolbox.org/sander.niemeijer/32/5_2.png) [@sander.niemeijer](https://forum.atmospherictoolbox.org/u/sander.niemeijer)
#### Post date: [March 21, 2020, 12:22pm UTC](https://forum.atmospherictoolbox.org/t/creating-a-animation-using-moving-10-day-averages/92/2 "2020-03-21T12:22:58Z")

</div>

The merge approach you describe is how you would do it. You would just merge the daily files of 10 days into a single merged average. Each day you would create one new 10-day averaged grid based on the grid of the current day and those of the last 9 days. I don’t see anything inefficient in that.
