<div dir="ltr"><div>Ryan, .... THX. A JIRA ticket( # 2217) has been opened. D<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 8, 2015 at 12:36 AM, Ryan Pavlick <span dir="ltr"><<a href="mailto:ryan.pavlick@gmail.com" target="_blank">ryan.pavlick@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">The documentation for dim_acumrun_n says that it returns a variable with the same type as the input. However, it seems to return a float, regardless of the input type.<div><br></div><div>Example<br><br>
<p><span>ncl 0> a = (/1,1,1,1,1,1,1/)</span></p>
<p><span>ncl 1> b = dim_acumrun_n(a,2,0,0)</span></p>
<p><span>ncl 2> printVarSummary(b)</span></p>
<p><span></span><br></p>
<p><span>Variable: b</span></p>
<p><span>Type: float</span></p>
<p><span>Total Size: 28 bytes</span></p>
<p><span> 7 values</span></p>
<p><span>Number of Dimensions: 1</span></p>
<p><span>Dimensions and sizes:<span>        </span>[7]</span></p>
<p><span>Coordinates: </span></p>
<p><span>Number Of Attributes: 1</span></p>
<p><span> _FillValue :<span>        </span>9.96921e+36</span></p>
<p><span>ncl 3> printVarSummary(a) </span></p>
<p><span></span><br></p>
<p><span>Variable: a</span></p>
<p><span>Type: integer</span></p>
<p><span>Total Size: 28 bytes</span></p>
<p><span> 7 values</span></p>
<p><span>Number of Dimensions: 1</span></p>
<p><span>Dimensions and sizes:<span>        </span>[7]</span></p>
<p><span>Coordinates: </span></p></div></div>
<br>_______________________________________________<br>
ncl-talk mailing list<br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>