[Thread Prev][Thread Next][Index]
Re: Masking
Hi Sriram,
It is fairly easy, use an "IF" condition with the
Y-coordinate axis values of the desired variable as shown below:
set data coads_climatology
let eqtr_mask = IF Y[GY=sst] LT -2 OR Y[GY=sst] GT 2 THEN 1
let sst_noeq = sst * eqtr_mask
fill/l=1 sst_noeq ; go land
Please note that the masking is achived by setting all the values of
eqtr_mask from Y=-2 to Y=2 to missing values (by not specifying the
"ELSE" case for the IF condition).
With Regards
Jaison
On Wed, 16 Mar 2005, Prakya Shree Ram wrote:
> Dear Ferreters,
>
> I would like to mask the equator area say -2 to 2 in
> my plot. How to do this?
>
> Thanks,
> Sriram
>
> -----------------------------------------------------------------
> Dr. P. Shree Ram
> Research Associate
> N.I.O, Regional Centre
> 176, Lawsons Bay Colony
> Visakhapatnam-530 017
>
> Tel: +91-891-2539180 (Off.) +91-891-2527303 (Res) +91 9440120306 (Mobile)
> Fax : +91-891-2543595
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Small Business - Try our new resources site!
> http://smallbusiness.yahoo.com/resources/
>
--
___________________________________________________
Jaison Kurian
Centre for Atmospheric and Oceanic Sciences
Indian Institute of Science
B A N G A L O R E 560 012
Ph: +91-80-3942505
+91-80-3600450
Fax:+91-80-3600865
___________________________________________________
[Thread Prev][Thread Next][Index]
Dept of Commerce /
NOAA /
OAR /
PMEL /
TMAP
Contact Us | Privacy Policy | Disclaimer | Accessibility Statement