[Thread Prev][Thread Next][Index]

Re: [ferret_users] how to skip the invalid data by drawing vector? ferret v6.72 & unix



Hi Jimmy,
The syntax you are looking for is

   set var/bad=999 uwnd

for all variables that have invalid values marked by 999.


Ansley


On 11/18/2011 2:16 AM, 金懐東(Jimmy Kin) wrote:
Dear all,

I am using binary file to draw the arrows.

And in my data file there are some invalid value 999. I want to plot blank or not show the arrow in the area where there is 999.
I tried to use the 

| let uwnd2 = if uwnd eq 999 then skip else uwnd
&
| let/bad=-100 uwnd2 = if uwnd eq 999 then (-100) else uwnd

Neither worked.

Thanks for any insight.



--
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
金懐東 (Jimmy Kin)
Yamaguchi Research Laboratory Master Course
Department of Ocean Technology, Policy and Environment
Graduate School of Frontier Sciences
The University of Tokyo
E-mail : jimmyandone@xxxxxxxxx 
TEL     : +81-80-4440-8606
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━


[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement