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

Home » Public Forums » archive » Re: idl readf error
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: idl readf error [message #65124 is a reply to message #65123] Fri, 13 February 2009 15:54 Go to previous messageGo to previous message
rollo.tomasi is currently offline  rollo.tomasi
Messages: 4
Registered: February 2009
Junior Member
Here's what I have:

IDL> openr, 1, 'file1.out'
IDL> h = strarr(5)
IDL> readf, 1, h
IDL> close, 1
IDL> for j=0,4 do print, h[j]
T U 17.81 201 145225.9
T U 37.67 191 98975.8
T U 21.77 201 129774.9
T I 0.65 1 69.5
T I 0.36 1 69.3

By doing this I noticed that the values in the last column get pretty
large, so I changed the format to
format='(2A2, G7.2, G7.2, G10.2)'

And I still get the same error.

The largest values in the numerical columns are:
column 3: 272.23
column 4: 1000
column 5: 145225.9
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: happy 1234567890 day!
Next Topic: Reading multiple ASCII files in as 2d arrays and putting them into a 3d array

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

Current Time: Sat Oct 11 22:08:13 PDT 2025

Total time taken to generate the page: 1.19850 seconds