Re: READF: Input conversion error. [message #91317 is a reply to message #91316] |
Mon, 29 June 2015 09:15   |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Priyadarsini Sivaraj writes:
> Thank you so much sir!
> But another error pops out saying,
> READF: Input conversion error. Unit: 105,
> How can I handle this..?
Without you giving us information about where errors are occurring in
your program, we can only guess. Normally, errors like this occur when
you tell IDL to read a number is there is only a string there, or visa
versa.
Find the line that is causing you the error (it is in your error
message), then stop the code there and examine what is in the file at
that location and what you are trying to read (the HELP command will be
useful to you). You are making assumptions about what is happening that
aren't true. Make sure all your data types are matching. :-)
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.")
|
|
|