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

Home » Public Forums » archive » Re: IDL 4.0.1, best way to deal with missing/bad data
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: IDL 4.0.1, best way to deal with missing/bad data [message #5777 is a reply to message #5775] Mon, 12 February 1996 00:00 Go to previous message
rivers is currently offline  rivers
Messages: 228
Registered: March 1991
Senior Member
In article <c2gvilgp29e.fsf@toe.CS.Berkeley.EDU>, rfinch@toe.CS.Berkeley.EDU (Ralph Finch) writes:
> IDL 4.0.1, Solaris.
>
> The question comes as to the best way to handle missing/bad data
> within IDL. By handle I mean don't use the data in computations, and
> don't plot it. I can think of three ways:

There is another way - use the IDL WHERE() function and the capability to
subscript and array with another.

read, data, flag
good = where(flag eq 0)
data = data(good)
plot, data


____________________________________________________________
Mark Rivers (312) 702-2279 (office)
CARS (312) 702-9951 (secretary)
Univ. of Chicago (312) 702-5454 (FAX)
5640 S. Ellis Ave. (708) 922-0499 (home)
Chicago, IL 60637 rivers@cars3.uchicago.edu (Internet)
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: FAQ for IDL?
Next Topic: Selected eigenvectors of tri-diagonal matrixe

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

Current Time: Sun Oct 12 03:56:31 PDT 2025

Total time taken to generate the page: 0.47945 seconds