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

Home » Public Forums » archive » Re: segment vector with missing 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: segment vector with missing data [message #63363 is a reply to message #63359] Tue, 04 November 2008 13:30 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
David Fanning writes:

> How about this:
>
> goodIndices = Where(Finite(array) EQ 0, COMPLEMENT=badIndices)
>
> The goodIndices finds all the good data, the badIndices
> finds all the NANs.

Whooops, I probably have my indices reversed. I'm
trying to eat lunch. :-(

Cheers,

David
--
David Fanning, Ph.D.
Coyote's Guide to IDL Programming (www.dfanning.com)
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Moving to objects loses array functionality?
Next Topic: How does IDL locate netCDF?

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

Current Time: Sat Oct 11 06:05:52 PDT 2025

Total time taken to generate the page: 0.08212 seconds