NAME

fmodtab -- modify the values in multiple rows of a table column


PARAMETERS

infile
name and extension number of the FITS table to be modified

column
- name of the column to be modified

modfile
name of the ascii file containing a list of row numbers and the new data values for the row. If the column is a vector column, each line of the modfile would have 3 values: row number, element number, and new data value. The string value is treaded as scalor.


EXAMPLES

Modify the values in rows 5, 7, and 9 of the 'RATE' column in the file 'myfile.fits+2':

        fmodtab myfile.fits+2 rate modfile

where modfile looks like

         5     46.4
         7     54.7
         9     INDEF

(note that the value in row 9 is set to null)

Change the value in row 6 element 4 of the 'RATE1' vector column in the first extension of file 'blah.fits' to 77.4

     fmodtab blah.fits rate1 modfile2

where modfile2 looks like:

     6    4    77.4

Change the value in row 6 of the 'Name' string column in the first extension of file 'text.fits' to "first string"

     fmodtab text.fits  name modfile2

where modfile2 looks like:

     6 first string

or

     6 "first string"


SEE ALSO

ftedit

CATEGORY

Nov99 ftools.futils