Re: PV-Wave CONTOUR question? [message #7105] |
Wed, 02 October 1996 00:00 |
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  |
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
____________________________________________________________ _________
|
|
|