setting missing values

From: James Correia <jimmyc42_at_nyahnyahspammersnyahnyah>
Date: Tue, 10 Jun 2008 13:42:26 -0700

Hi NCL-ers,

I have a 3D variable (vertical level, lat, lon). I am taking an average
(using dim_avg) over space but want to exclude those grid points which have
zeros in the whole column. I know I can set them to missing, but what is the
best way to set those columns to missing (I do not want to simply set all
zeros to missing, only those grid points where the whole column is zero).

Not sure if I can use the mask function for this.
Thanks for any insight.

-- 
James Correia Jr.
Post Doc
Climate Physics Group, PNNL

_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Jun 10 2008 - 14:42:26 MDT

This archive was generated by hypermail 2.2.0 : Wed Jun 11 2008 - 13:31:20 MDT