[ncl-talk] warining with avg

Dennis Shea shea at ucar.edu
Tue Dec 4 22:01:57 MST 2018


Just what it says. One or more time series at a grid point has all
_FillValue.

   x = (/ -999.0, -999.0, -999.0, -999.0, -999.0, -999.0 /)
   x at _FillValue = -999.0
   xAvg = avg(x)
*warning:*avg: Entire input array contains missing values, can't compute
average

   print(xAvg)

Variable: xAvg
Type: float
Total Size: 4 bytes
            1 values
Number of Dimensions: 1
Dimensions and sizes:   [1]
Coordinates:
Number Of Attributes: 1
  _FillValue :  -999
(0)     -999


On Tue, Dec 4, 2018 at 8:16 PM Chen <kuroshio at 163.com> wrote:

> Hello all
> What does this mean when I use ave command?
> warning:avg: Entire input array contains missing values, can't compute
> average
> You help means a lot for me.
> Best
> Chen
>
>
>
> _______________________________________________
> 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/20181204/5bc7e000/attachment.html>


More information about the ncl-talk mailing list