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

Home » Public Forums » archive » read a file written in fortran
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
read a file written in fortran [message #71186] Mon, 07 June 2010 12:27 Go to previous message
Thibault Garel is currently offline  Thibault Garel
Messages: 55
Registered: October 2009
Member
Hi,
I want to read with IDL an ascii file written in Fortran 90.

The file contains two types of data: double floats and "logical". For
the floats no problem but for the logical (which writes either T or F
(for true or false) in the ascii file) i get " READF: End of file
encountered" while doing:

my_float = 0.0d0
my_logical='a'

readf,11,format='(1e14.6,A1)', my_float,my_logical

Is there anything wrong in the format or in the initialization?

Thanks in advance!
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Coyote Graphics Update 30 Jan 2011
Next Topic: Re: Y2 axis title orientation

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

Current Time: Wed Oct 08 15:57:22 PDT 2025

Total time taken to generate the page: 0.00412 seconds