An alternative method is to apply the ">" algebraic
operator after the interpolation. This array operator
acts like the fortran90/95 "where" statement
where (prc.lt.0) prc = 0.0
in NCL
prc = prc > 0.0 ; all values less than 0.0 are set to 0.0
On Mon, 19 Jan 2004, K Smith wrote:
> I'm experimenting with natgrids and want to eliminate negative values
> (precipitation) by setting the "non" control parameter. How do I do this
> from NCL?
>
> Kip Smith
_______________________________________________
ncl-talk mailing list
ncl-talk@ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
This archive was generated by hypermail 2b29 : Mon Jan 19 2004 - 21:52:44 MST