Set all positive values to zero
Ben-Jei Tsuang
btsuang at YAHOO.COM
Fri Jun 12 22:52:45 EDT 2009
With the OpenGrADS extension:
There is a new function "if"
define newvar=if(var, >=,0,0,var)
Please take a look at
http://opengrads.org/doc/udxt/libbjt/
Ben
2009/6/13 P.R. <romero619 at hotmail.com>:
> Hi, I need a quick solution to set all grid values that are "greater or
> equal zero" to "zero".
> Any help would be appreciated.
> Thanks,
> P.R.
>
--
Ben-Jei Tsuang
Dept. of Environmental Engineering
National Chung-Hsing University
More information about the gradsusr
mailing list