Welcome to iraf.net Monday, May 13 2024 @ 07:22 PM GMT


 Forum Index > Help Desk > General IRAF New Topic Post Reply
 Cannot close file error?
   
piverson
 11/05/2007 09:32PM (Read 2870 times)  
+++--
Chatty

Status: offline


Registered: 07/10/2007
Posts: 42
I received the following error. ERROR: Cannot close file (flatR-66612cb.fits)
"rfits (s1,"","flatR-"//n)"
called as: 'ap_rfits_v_1 ()'I have run this script many times without any problems. I don't even know where this flatR-66612cb.fits is coming from. Earlier the same error was occuring but in a different place. What is happening? Thanks.
Paul Iverson

 
Profile Email
 Quote
fitz
 11/05/2007 09:32PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
There are no known issues with RFITS like this and since you mention a script I suspect it's either a scripting error causing a file descriptor leak (e.g. you use list pointers to loop over filelists but don't 'close' them when done with the loop (by e.g. list="") and so they build up), or perhaps a disk is filling up, or lastly a problem in the FITS file itself. Are you able to do things like IMSTAT and IMHEAD directly on the file?-Mike

 
Profile Email
 Quote
piverson
 11/05/2007 09:32PM  
+++--
Chatty

Status: offline


Registered: 07/10/2007
Posts: 42
Mike-We have found that we are filling our tmp/ folder with .fits images. I was under the impression that these should have been deleted automatically. I think this has something to do with our scripts but we don't know how to fix them so that the clean the tmp/ directory. Do you have any suggestions. This has lead to the corruption (possibly) of one hard drive and the near filling of 2 others before we caught it.Thanks,
-Paul

 
Profile Email
 Quote
   
Content generated in: 0.12 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content 
dog allergies remedies cialis 20 mg chilblain remedies


Privacy Policy
Terms of Use

User Functions

Login