[gradsusr] define a field from existing field
Julio Martinez
julioms24 at hotmail.com
Mon Sep 29 21:39:48 EDT 2014
Check out maskout and const functions
Enviado desde mi iPad
> El 29/09/2014, a las 20:38, "Jian-Jian Wang" <jjwang at umd.edu> escribió:
>
> Hi,
>
> I have an existing field, "sat_rain" , and would like to define a new field "sat_detect", making it to be constant of 1 if sat_rain > 0.
> I tried:
>
> if (prec > 0) define sat_detect = 1
>
> sat_detect = if(prec,>,0,2,-a)
>
> none of them works. Would you please provide some advice?
> Thank you in advance.
>
> Jay
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
More information about the gradsusr
mailing list