anjavdl / PHY517_AST443

PHY 517 / AST 443 - Observational Techniques in Astronomy
11 stars 19 forks source link

pyraf error: "Warning: FXF: must specify which FITS extension" #6

Open anjavdl opened 6 years ago

anjavdl commented 6 years ago

If you encounter this error, it is because the EXTEND keyword in the header of your file is set to T (true), even though the file only has one extension.

The easiest way to fix this is to copy the file to a new one using the imcopy routine in pyraf:

imcopy file.fits[1] new_file.fits
alizamustafaa commented 9 months ago

Warning: FXF: must specify which FITS extension (objx) I still cannot fix this error