Re: READF: Input conversion error. [message #91323 is a reply to message #91322] |
Mon, 29 June 2015 10:49   |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Priyadarsini Sivaraj writes:
> I have to read these values into separate variables namely,lun1, id, x, y, lat, lon. Earlier I had used a READF statement as follows:
> READF, lun1, header
> This is done to separate out the header and store the information present in it separately.
Why don't you put a breakpoint in your code at the line that is causing
you trouble. Instead of using the READF statement that is causing the
error, just read that line of the data file. Something like this:
line = ""
ReadF, lun1, line
Print it out:
Print, line
Is that the line you are trying to read into the variables id, x, y,
lat, and lon?
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.")
|
|
|