[gradsusr] How to mask one variable using another two variables

Andrew Friedman andfried at gmail.com
Wed Aug 3 16:01:39 EDT 2016


Hi Mano,

Have you looked at the const function?
http://cola.gmu.edu/grads/gadoc/gradfuncconst.html
I believe that you should be able to combine it with maskout to achieve the double masking that you’re looking for.

Andrew

> On Aug 3, 2016, at 4:30 PM, lpasmanoranjan <lpasmanoranjan at gmail.com> wrote:
> 
> Dear GrADS users,
> I would like to ask you a favour.
> 
> I can't able to mask one variable using another two variables. For example, I have a dataset over a region (10-20N & 77-110E) with three different variables (temp, prec, wind). 
> 
> I would like to show the wind speed at those grid points/region where temperature is > 15C and precipitation is > 2mm/d 
> 
> something like 'd maskout(wind,maskout(prec,temp-15)-2)' 
> 
> Thank you.
> 
> 
> -- 
> Kind Regards,
> Mano
> 
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr




More information about the gradsusr mailing list