fkeytab -- Copy a FITS keyword value to a FITS table element.
fkeytab fitsfile[ext#] keyword tblfile[ext#] column row
This task reads a header keyword from the input FITS file ('fitsfile') and writes the value into a table element in either the same or a different FITS file. Implicit datatype conversion will be attempted if the datatypes of the keyword and the column are not the same. Whether the keyword is found or not is indicated in the parameter file.
1. Copy the NSTEP keyword from the primary array header of the FITS file myfile.fits to the 10th row of the 'OFFSET' column in the FITS table in the second extension of the same file:
ft> fkeytab myfile.fits[0] nstep myfile.fits[2] offset 10
ftkeypar, ftedit, fthedit, ftlist, heatools. fv, the interactive FITS file editor, can also be used to extract keyword values.