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

Home » Public Forums » archive » Re: problem is ther in my progam how to solve this problem
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: problem is ther in my progam how to solve this problem [message #71606] Wed, 30 June 2010 10:47
Wout De Nolf is currently offline  Wout De Nolf
Messages: 194
Registered: October 2008
Senior Member
On Wed, 30 Jun 2010 00:28:44 -0700 (PDT), hari krishna
<ahkreddy003@gmail.com> wrote:

> error message is READF: End of file encountered. Unit: 100, Execution
> halted at: $MAIN$ .

You try to read something from a file while its pointer is at the end,
i.e. there is nothing more to read.
Re: problem is ther in my progam how to solve this problem [message #71608 is a reply to message #71606] Wed, 30 June 2010 05:52 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
hari krishna writes:

> i am using for & while loops to read the data of multiple files of
> single fit. i wrote program of multi files in one fit. number of files
> is 32. But program reads 7 files and after not not open the files.
> error message is READF: End of file encountered. Unit: 100, Execution
> halted at: $MAIN$ .
> please send me how to solve this problem

You solve this problem by reexamining the assumptions
you are making about the data files. (The assumption
I would consider first is "All the data files are
the same.") Then, you use print statements and breakpoints
until you understand the ground truth enough to be able
to come up with another set of (probably faulty) assumptions.
The process is called "programming". :-)

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: problem is ther in my progam how to solve this problem [message #71611 is a reply to message #71608] Wed, 30 June 2010 01:22 Go to previous message
Maxwell Peck is currently offline  Maxwell Peck
Messages: 61
Registered: February 2010
Member
On Jun 30, 5:28 pm, hari krishna <ahkreddy...@gmail.com> wrote:
> i am using for & while loops to read the data of multiple files of
> single fit. i wrote program of multi files in one fit. number of files
> is 32. But program reads 7 files and after not not open the files.
> error message is READF: End of file encountered. Unit: 100, Execution
> halted at: $MAIN$  .
> please send me how to solve this problem. thank you viewers

Did you open up the eighth file to see if there's anything wrong with
it??
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Add GSHHS coastline on georeferenced image layers retrieved from MODIS HDF file?
Next Topic: Simple hack to get $500 to your home.

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

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

Total time taken to generate the page: 0.00480 seconds