[ncl-talk] sum

Vanúcia Schumacher vanucia-schumacher at hotmail.com
Mon Dec 11 12:40:44 MST 2017


I would like to add (+) three variables that contain missing values, but I need that during the sum disregarding the missing value, in the same way as the sum function.
Any suggestion?



        varD = data(:,11)
        varD at _FillValue = -999.00
        varJ = data(:,0)
        varJ at _FillValue = -999.00
        varF = data(:,1)
        varF at _FillValue = -999.00

        xmean = (varD+varJ+varF)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20171211/320abdbd/attachment.html>


More information about the ncl-talk mailing list