[ncl-talk] bug in dim_acumrun_n
Dennis Shea
shea at ucar.edu
Fri May 8 10:25:03 MDT 2015
Ryan, .... THX. A JIRA ticket( # 2217) has been opened. D
On Fri, May 8, 2015 at 12:36 AM, Ryan Pavlick <ryan.pavlick at gmail.com>
wrote:
> 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.
>
> Example
>
> ncl 0> a = (/1,1,1,1,1,1,1/)
>
> ncl 1> b = dim_acumrun_n(a,2,0,0)
>
> ncl 2> printVarSummary(b)
>
>
> Variable: b
>
> Type: float
>
> Total Size: 28 bytes
>
> 7 values
>
> Number of Dimensions: 1
>
> Dimensions and sizes: [7]
>
> Coordinates:
>
> Number Of Attributes: 1
>
> _FillValue : 9.96921e+36
>
> ncl 3> printVarSummary(a)
>
>
> Variable: a
>
> Type: integer
>
> Total Size: 28 bytes
>
> 7 values
>
> Number of Dimensions: 1
>
> Dimensions and sizes: [7]
>
> Coordinates:
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20150508/a6b9fde0/attachment.html
More information about the ncl-talk
mailing list