[Thread Prev][Thread Next][Index]

Re: shading MISSING_VALUE in netcdf data



Hi Boyin,

Check out the "MISSING()" function in the Users Guide: http://ferret.wrc.noaa.gov/Ferret/Documentation/Users_Guide/current/fer_html.htm (available from the Index)

    - steve

Boyin Huang wrote:

> Hi, there:
>
> I tried to shade the area of missing_value (land) in
> netcdf data set, but failed.
>
> It seems to me that the missing value is not
> recognized by ferret as a "number".
>
> assume arr is the SST of a netcdf file and
> missing_value is 1.e20.
> I used the following ferret commands:
>
> let land = if arr1 eq 1.e20 then 1
> shade/nolabel/nokey/over/palette=gray   land
>
> No shading at all!
>
> I also tried
> shade/nolabel/nokey/over/palette=gray/lev="(100)
> (1.e20)" arr[d=1]
>
> No shading either. I got the expected contour in both
> cases.
>
> Any comments are welcomed.
>
> =====
> Boyin Huang, Massachusetts Institute of Technology, Room 54-1721, 77 Mass. Ave., Cambridge, MA-02139, bhuang@wind.mit.edu, Tel. 617-253-5935 (O), 781-485-0234(H), fax 617-253-6208
>
> __________________________________________________
> Do You Yahoo!?
> Send your FREE holiday greetings online!
> http://greetings.yahoo.com

--
Steve Hankin
NOAA/PMEL, 7600 Sand Point Way NE, Seattle, WA 98115-0070
ph. (206) 526-6080 -- FAX (206) 526-6744




[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement