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

Home » Public Forums » archive » Re: Read ASCII File with tab seperator
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: Read ASCII File with tab seperator [message #75389 is a reply to message #75388] Wed, 02 March 2011 09:41 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Michael Galloy writes:

> [507]> d = read_ascii('test.txt', missing_value=0, delimiter=string(9B))
> [508]> help, d
> ** Structure <15b14b8>, 1 tags, length=64, data length=64, refs=1:
> FIELD1 FLOAT Array[4, 4]
> [509]> print, d.field1
> 1.00000 0.00000 0.00000 0.00000
> 2.00000 0.00000 10.0000 10.0000
> 3.00000 0.00000 12.0000 12.0000
> 4.00000 0.00000 10.0000 10.0000

This is the first time in my life I've ever had
cause to think READ_ASCII might actually be useful. ;-)

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.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
Read Message
Read Message
Read Message
Previous Topic: Anonymous Math Functions in IDL like Matlab
Next Topic: Re: IDL Astron Library now uses Coyote Graphics

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

Current Time: Fri Oct 10 07:31:08 PDT 2025

Total time taken to generate the page: 0.32212 seconds