[ncl-talk] Possible bug in the 'tri_trunC' function?

Mary Haley haley at ucar.edu
Wed Dec 16 11:23:50 MST 2015


Xiaoyu,

I'm not very familiar with this function, but for whatever reason, it has
an internal check on the rightmost two dimensions of "ab" that require them
to be the same size. So, I don't think this is a bug, but it may be an
unnecessary restriction.

I've created a ticket for this, NCL-2323.

--Mary


On Mon, Dec 14, 2015 at 11:44 AM, Xiaoyu Long <xlong at ncsu.edu> wrote:

> Hi,
>
> Below is an excerpt of the code using the tri_trunC function.
>
>   T  = 21
>   ab = shaeC (Z3)
>   printVarSummary(ab)
>   ab = tri_trunC(ab,T)
>   Z3f  = shseC (ab,nlon)
>
> The error information is:
> "fatal:tri_trunC: the last two dimensions of ab must be the same size"
>
> I tried the subroutine version of the tri_trunc, it gave the same error.
>
> Thank you
> Xiaoyu Long
>
>
>
>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> 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/20151216/133c68f7/attachment.html 


More information about the ncl-talk mailing list