Open anjavdl opened 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.
EXTEND
T
The easiest way to fix this is to copy the file to a new one using the imcopy routine in pyraf:
imcopy
pyraf
imcopy file.fits[1] new_file.fits
Warning: FXF: must specify which FITS extension (objx) I still cannot fix this error
If you encounter this error, it is because the
EXTEND
keyword in the header of your file is set toT
(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 inpyraf
: