Re: READF: Input conversion error. [message #91324 is a reply to message #91323] |
Mon, 29 June 2015 11:00   |
Priyadarsini Sivaraj
Messages: 15 Registered: June 2015
|
Junior Member |
|
|
On Monday, 29 June 2015 13:49:13 UTC-4, David Fanning wrote:
> 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.")
This is the output for the print statement.
ID X Y Lat Lon
Yes, I understand the fault.Is there any way that I can skip this line..?
|
|
|