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

Home » Public Forums » archive » Extraction from *.txt file
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: Extraction from *.txt file [message #91255 is a reply to message #91254] Tue, 23 June 2015 09:58 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
dave poreh writes:

>
> On Tuesday, June 23, 2015 at 8:05:22 PM UTC+4:30, David Fanning wrote:
>> dave poreh writes:
>>
>>> I have many *.txt files like this:
>>>
>>> ...
>>>
>>> And i need just (19-APR-2006).
>>> Any help would be apprecated,
>>
>> What line have you managed to read so far?
>>
>> Cheers,
>>
>> David
>> --
>> David Fanning, Ph.D.
>> Fanning Software Consulting, Inc.
>> Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
>> Sepore ma de ni thue. ("Perhaps thou speakest truth.")
>
> Hi David,
> There are some lines like:
>
> PIXEL SPACING NORTH (DETECTED) [m]: 2.0000000
> PIXEL SPACING NORTH (SLC) [m]: 2.0000000
> PIXEL SPACING EAST (DETECTED) [m]: 2.0000000
> PIXEL SPACING EAST (SLC) [m]: 2.0000000
> MINIMUM EASTING DETECTED: 382938.00
> MINIMUM EASTING SLC: 382938.00
> MINIMUM NORTHING DETECTED: 5982280.0
> MINIMUM NORTHING SLC: 5982280.0
> MAXIMUM EASTING DETECTED: 391510.00
> MAXIMUM EASTING SLC: 391510.00
> MAXIMUM NORTHING DETECTED: 5985510.0
> MAXIMUM NORTHING SLC: 5985510.0
>
> That I could read and retrive the data SO FAR :)

Well, keep going! You are almost to the line you want! How are you going
to tell when you get there?

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Feature request: printing very long arrays
Next Topic: BYTSCL function

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

Current Time: Wed Oct 08 13:47:27 PDT 2025

Total time taken to generate the page: 0.00394 seconds