fdelcol -- Delete a specified column in a FITS table
fdelcol infile[ext#] colname confirm proceed
This task deletes a column in a FITS table. Since the input FITS file is modified by this utility, the user is given an opportunity to confirm before deleting the column.
If 'CONFIRM' is set to NO and 'PROCEED' is set to YES, the utility simply deletes the column without any warnings. (suitable for a script)
1. Delete the column COL1 in the second extension of the file test.fits, without querying for confirmation.
ft> fdelcol test.fits+2 COL1 N Y
For the safety, the user has to specify the extension name or number explicitly in input file name. If the user does not give an extension number or name, the program will generate an error message and exit.
ftcopy. fv, the interactive FITS file editor, can also be used to delete columns from a FITS table.