[ncl-talk] Missing value
Alan Brammer
abrammer at albany.edu
Mon Sep 29 09:04:02 MDT 2014
Did you try it?
I just quickly tested it and if any one variable is _Fillvalue then the
return is a fillvalue.
If that's not what you want and it's just addition you want you could build
an array from a,b,c and use dim_sum which will ignore fillvalues I believe.
Good luck,
Alan.
On 28 Sep 2014 17:20, "Xi Chang" <xi.chang01 at gmail.com> wrote:
> Hallo,
>
> How does NCL treat the missing value in a simple arithmetic calculation,
> e.g.;
> *X= A + B +C*
> if A is a missing value and B, and C is *non* missing value, so what's
> the result of X?
> is it missing value or is it equal to the value of B+C?
>
> Thanks
>
>
> _______________________________________________
> 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/20140929/7ee42fa6/attachment.html
More information about the ncl-talk
mailing list