Re: Missing Values

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Wed, 17 Jan 2007 13:26:57 -0700 (MST)

>Is there a way to directly prevent printing missing values of a array?
>_______________________________________________

This is a work around.

[a] If array (x) is one dimensional

     i = ind(.not.ismissing(x))
     print(x(i))
     
[b] If x is multidimensional

     x1d = ndtooned(x)
     i = ind(.not.ismissing(x1d))
     print(x1d(i))
     
     delete(x1d)
     
Of course, the incicies printed are
not the same as the original data
[unless there are no missing values].

D
     

_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Jan 17 2007 - 13:26:57 MST

This archive was generated by hypermail 2.2.0 : Wed Jan 17 2007 - 15:40:09 MST