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

Home » Public Forums » archive » filtering data data in .txt
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: filtering data data in .txt [message #92988 is a reply to message #92985] Tue, 05 April 2016 07:21 Go to previous messageGo to previous message
Jeremy Bailin is currently offline  Jeremy Bailin
Messages: 618
Registered: April 2008
Senior Member
On Tuesday, April 5, 2016 at 10:12:24 AM UTC-4, omar ali wrote:
> Hi,
> I need to filter out the the rows having -9.999 values from the following data. I read the text file with opnr command but unfortunately, date and time are gone.
>
> Example of the file is below:
>
> 9/20/2007 10:00:00 1.88
> 9/20/2007 11:00:00 1.88
> 9/20/2007 12:00:00 1.88
> 9/20/2007 13:00:00 1.88
> 9/20/2007 14:00:00 1.88
> 9/20/2007 15:00:00 1.88
> 9/20/2007 16:00:00 1.86
> 9/20/2007 17:00:00 1.86
> 9/20/2007 18:00:00 1.83
> 9/20/2007 19:00:00 -9.999
> 9/20/2007 20:00:00 -9.999
> 9/20/2007 21:00:00 -9.999
> 9/20/2007 22:00:00 -9.999
> 9/20/2007 23:00:00 -9.999
> 9/21/2007 0:00:00 -9.999
> 9/21/2007 1:00:00 -9.999
> 9/21/2007 2:00:00 -9.999
> 9/21/2007 3:00:00 -9.999
> 9/21/2007 4:00:00 -9.999
> 9/21/2007 5:00:00 -9.999
> 9/21/2007 6:00:00 -9.999
> 9/21/2007 7:00:00 -9.999
> 9/21/2007 8:00:00 -9.999
> 9/21/2007 9:00:00 -9.999
> 9/21/2007 10:00:00 1.81
> 9/21/2007 11:00:00 1.81
> 9/21/2007 12:00:00 1.81
> 9/21/2007 13:00:00 1.83
> 9/21/2007 14:00:00 1.83

I would recommend using WHERE.

-Jeremy.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to create an image with more than one gaussian psfs?
Next Topic: How to create synthetic images of stars with gaussian psf in IDL.

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

Current Time: Wed Oct 08 11:48:27 PDT 2025

Total time taken to generate the page: 0.00215 seconds