Re: Missing value settings

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Wed, 01 Jul 2009 09:33:48 -0600

Use "where"
http://www.ncl.ucar.edu/Document/Functions/Built-in/where.shtml

   xmin = ...
   x = where (x.lt.xmin, x@_FillValue, x)

louis Vonder wrote:
> Dear all,
>
> I have data stored in Netcdf format.
>
> I want to calculate average of this data.
>
> But when I am averaging I don't want to consider values below a fixed
> threshold.
>
> For this reason I want fix all these values below the threshold to
> "missing value".
>
> Then after I will use the NCL function dim_avg_n_Wrap
> <file:///media/xp/www.ncl.ucar.edu/Document/Functions/Contributed/dim_avg_n_Wrap.shtml>
> to perform my task.
>
> Many thanks
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Jul 01 2009 - 09:33:48 MDT

This archive was generated by hypermail 2.2.0 : Thu Jul 02 2009 - 11:39:37 MDT