[Thread Prev][Thread Next][Index]

IF and modulo axes

Dear FERRETers,

can anybody help me with the following problem:

I want to mask out a certain region using the 'IF ... THEN ... ELSE ...'
structure of ferret (V5.22 on Dec-Alpha OSF 4.0f). However, this does not 
seem to work with modulo axes.
In the following example

define axis/x=0:359:1/modulo/unit=longitude lon
define axis/y=-90:90:1/unit=latitude lat
let A = IF ((X[gx=lon] GE -10) AND (X[gx=lon] LE 10) AND (Y[gy=lat] GE -10) 
AND (Y[gy=lat] LE 10)) THEN 1 ELSE 0
shade A

I would expect the box to be also drawn  from 350 to 360 degrees longitude.
This is not the case! Is there a work-around, or are there plans for a future
release to make IF ... THEN ... ELSE work also for modulo axes.


      Patrick Joeckel

Dr. Patrick Joeckel
Max Planck Institute for Chemistry
Joh.-J. Becher Weg 27         
55128 Mainz                   phone:++49-6131-305452      
Germany                       fax  :++49-6131-305436     
Never trust an operating system you don't have sources for.

[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement