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

Home » Public Forums » archive » READF: Input conversion 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: READF: Input conversion error. [message #91324 is a reply to message #91323] Mon, 29 June 2015 11:00 Go to previous messageGo to previous message
Priyadarsini Sivaraj is currently offline  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..?
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: cw_form widget offset
Next Topic: READ, adn get data into an array from LARGE SIZE FILES

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

Current Time: Fri Oct 10 20:02:51 PDT 2025

Total time taken to generate the page: 0.87900 seconds