<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi NCL Community,<div class=""><br class=""></div><div class="">I am hoping you can provide me with some clarification on the documentation for the ‘runave’ function. I am trying to compute a running mean for a time series but using only points from previous (and not future) time steps to compute the mean for each point. Is this something I can do with the ‘runave’ function? If so, which option do I select?</div><div class=""><br class=""></div><div class="">Example, for clarity:</div><div class="">- x is my array of values</div><div class="">- running average window of size 10</div><div class="">- I would like an array, y, of size(x), at which every point, the value at y(i) is computed using the mean of x(i-9:i), but do not want to utilize cyclic conditions (runave opt -1)</div><div class=""><br class=""></div><div class="">Thank you</div><div class=""><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><span style="background-color: rgb(255, 255, 255);" class="">---</span></div><div class=""><span style="background-color: rgb(255, 255, 255);" class="">Andrea Jenney</span><br class=""><span style="background-color: rgb(255, 255, 255);" class="">Graduate Research Assistant | Randall Group</span></div><div class=""><span style="background-color: rgb(255, 255, 255);" class="">Colorado State University | Department of Atmospheric Science </span></div><div class=""><br class=""></div></div><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>
<br class=""></div></body></html>