made window_size a parameter for the function
Merge branch 'master' of https://github.com/j08lue/cesm-tools