comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: PV-Wave CONTOUR question?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: PV-Wave CONTOUR question? [message #7105] Wed, 02 October 1996 00:00
demott is currently offline  demott
Messages: 8
Registered: June 1996
Junior Member
R. Kyle Justice (rkj@dukebar.crml.uab.edu) wrote:

: Can PV-Wave's CONTOUR function ignore values in the
: rectangular input array? Certain "bad" values are
: interpreted as zero, and I would like to ignore them
: altogether.

If your bad data values are easily identified by a single
value or by a range of values, you can use the WHERE procedure
to set them to missing data as follows:

data(WHERE(data EQ bad_value)) = !VALUES.F_NAN

The CONTOUR procedure will not contour these missing data values.

Charlotte


: Kyle

:
Re: PV-Wave CONTOUR question? [message #7111 is a reply to message #7105] Tue, 01 October 1996 00:00 Go to previous message
Iarla Kilbane-Dawe is currently offline  Iarla Kilbane-Dawe
Messages: 7
Registered: May 1995
Junior Member
> Can PV-Wave's CONTOUR function ignore values in the
> rectangular input array? Certain "bad" values are
> interpreted as zero, and I would like to ignore them
> altogether.
> Kyle
>

Dead easy. Set your bad values to something much higher than the max of
your data (using which for example). Say that that value is 1.e6. Then, in
the contour call set max_val equal to (or slightly less than) your bad data
value e.g.

contour,your_data,max_val=1.e6

This will work.

Iarla.

____________________________________________________________ _________

Iarla Kilbane-Dawe Email: iarla@atm.ch.cam.ac.uk
European Ozone Research Phone: ++44 (01223) 336524
Coordinating Unit ++44 (01223) 311772
Cambridge University Fax: ++44 (01223) 311750
____________________________________________________________ _________
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: read/write to /XDR file?
Next Topic: Re: How to use the z-buffer

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:36:20 PDT 2025

Total time taken to generate the page: 0.00480 seconds