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

Home » Public Forums » archive » read files with time column
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 files with time column [message #47982 is a reply to message #47847] Thu, 09 March 2006 05:12 Go to previous message
Haje Korth is currently offline  Haje Korth
Messages: 651
Registered: May 1997
Senior Member
You should look into formatted input and specify the data format using the
FORMAT keyword to the READF routine. For example your line could be read as
READF, unit,hh,mm,ss,aa,bb,cc,format='(i2,1x,i2,1x,i2,f4.1,f4.1,f4. 1)'. This
can also be shortened to format='(2(i2,1x),i2,3f4.1)'. Of course, this does
not consider those "xxx" numbers.

Haje


<jg.guerra@telefonica.net> wrote in message
news:1141870589.384010.125410@v46g2000cwv.googlegroups.com.. .
> Hi,...
> I am getting into IDL and I'd like to plot some data that I have.
> The files are called m_010103 where the numbers are ddmmyy, I have a
> whole year data:
>
> the data looks like; 00:10:10 3.2 4.5 2.4 xxx xxx xxx,
> I'd like to read all the data and plot them, how can I do it?
>
> cheers
>
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: contouring irregular sparse data on a sphere
Next Topic: Re: matching 2 grids

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

Current Time: Fri Oct 10 19:38:32 PDT 2025

Total time taken to generate the page: 0.64200 seconds