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

Home » Public Forums » archive » Re: Probably a really simple read_ascii quesion....
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: Probably a really simple read_ascii quesion.... [message #68149 is a reply to message #68147] Thu, 01 October 2009 07:09 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Helen writes:

>
> I am trying to read in a text file (which is in column format) using
> read_Ascii. Most of my variables read in fine, with the exception of
> the "time" colum, where data is in HH:MM:SS format. (IDL reads these
> in as 1.0000). Anyone know how to get around this?

I've never used READ_ASCII, but I imagine you will
have to read this column in as an 8-element string
and process it later. (I'd probably use StrSplit
to separate the string into its component parts.)

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Previous Topic: Probably a really simple read_ascii quesion....
Next Topic: Re: histogram, how to trasfer from linear bins to logarithmic bin?

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

Current Time: Wed Oct 08 20:04:20 PDT 2025

Total time taken to generate the page: 0.00411 seconds