Welcome to iraf.net Friday, April 19 2024 @ 10:51 AM GMT


 Forum Index > Help Desk > Systems New Topic Post Reply
 ERROR: FXF: EOF encountered while reading FITS file
   
lina
 08/29/2008 05:47AM (Read 16077 times)  
+----
Newbie

Status: offline


Registered: 03/07/2008
Posts: 6
hello everyone,
I have a strange problem when flux-calibrate using standard,sensfunc,and calibrate.After I executed calibrate, it showed error.
ERROR: FXF: EOF encountered while reading FITS file
I checked up the parameters seted for calibrate. It seems no problem.Is there anyone met this question before?
I'm afraided it relates to parameter setting when IRAF install.
Thank you

 
Profile Email
 Quote
valdes
 08/29/2008 05:47AM  
+++++
Active Member

Status: offline


Registered: 11/11/2005
Posts: 728
I suspect this is due to a bug in the FITS header handling. In some circumstances the addition and deletion of header keywords can put the FITS END card in the wrong place resulting in this message. These problems are expected to be fixed in the next release and some were fixed in the current version.The approach to try and avoid this is to use HEDIT to add a few dummy keywords. Doing an IMCOPY first and working on the copy may also workaround the problem.If you can seem to avoid this problem send us the IRAF version you are using and we can try and give you further workarounds.Yours,
Frank Valdes

 
Profile Email
 Quote
lina
 08/29/2008 05:47AM  
+----
Newbie

Status: offline


Registered: 03/07/2008
Posts: 6
hi, FrankThis problem seems random. I used IRAF 2.14. Oddly, these tasks are normal now, when deal with the same files.
:shock: Thank you for your help. I can try to use HEDIT next time I meet that. lina

 
Profile Email
 Quote
rreyes
 08/29/2008 05:47AM  
+----
Newbie

Status: offline


Registered: 05/05/2009
Posts: 2
I encountered the same problem as Lina. I am using IRAF 2.14, on MacOSX, scisoft. When I run the task calibrate, I get the error message:ERROR: FXF: EOF encountered while reading FITS file (cbd+26r.ms.dc.fits)where cbd+26r.ms.dc.fits is the *output* file.HEDIT and IMCOPY were not helpful. This is a frustrating bug! Frank, can you recommend a workaround?
Lina, what did you do that made the error go away? (I'm willing to try anything)Will appreciate any help-- thanks!-- Reina

 
Profile Email
 Quote
rreyes
 08/29/2008 05:47AM  
+----
Newbie

Status: offline


Registered: 05/05/2009
Posts: 2
somehow when i chose an output file name without "fits" in the end, it worked...

 
Profile Email
 Quote
TomHughes
 08/29/2008 05:47AM  
+----
Newbie

Status: offline


Registered: 01/21/2011
Posts: 3
Hi,I have just tried the standard-sensfunc-calibrate procedure and have encountered the same error. I am currently using version 2.15. Has any progress been made on a way to work around this bug? I have not had any success using HEDIT or IMCOPY.Thanks,Tom

 
Profile Email Website
 Quote
lockepatton
 02/21/2017 01:19AM  
+----
Newbie

Status: offline


Registered: 02/21/2017
Posts: 2
I'm running Pyraf through astroconda on OS X 10.12.3 Sierra.

Current conda install:

platform : osx-64
conda version : 4.3.11
conda is private : False
conda-env version : 4.3.11
conda-build version : 2.1.4
python version : 2.7.13.final.0
requests version : 2.12.4



A similar error also occurred while I was running identify inside imred.kpnoslit

IrafError: Error running IRAF task calibrate
IRAF task terminated abnormally
ERROR (1121, "FXF: EOF encountered while reading FITS file (cdFT4.1_02hh_NS.0052r.fits)")

I've been using a document objects.ls as in input into identify ( built with ls *fits \$this->_split2($m[0]) objects.ls ).

I fixed the issue by removing the .fits from the ends of my objects inside objects.ls. I also ran kpnoslit inside the current directory. The combo solved the issue for me.

 
Profile Email
 Quote
lockepatton
 02/21/2017 01:25AM  
+----
Newbie

Status: offline


Registered: 02/21/2017
Posts: 2
Quote by: lockepatton

I'm running Pyraf through astroconda on OS X 10.12.3 Sierra.
A similar error also occurred while I was running identify inside imred.kpnoslit

IrafError: Error running IRAF task calibrate
IRAF task terminated abnormally
ERROR (1121, "FXF: EOF encountered while reading FITS file (cdFT4.1_02hh_NS.0052r.fits)")

I've been using a document objects.ls as in input into identify ( built with ls *fits \$this->_split2($m[0]) objects.ls ).



I meant while running calibrate, not identify.

 
Profile Email
 Quote
   
Content generated in: 0.20 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