next up previous contents FITSIO Home
Next: Update Keyword Subroutines Up: FITS Header I/O Subroutines Previous: Read Keyword Subroutines

Modify Keyword Subroutines  

Wild card characters, as described in the Read Keyword section, above, may be used when specifying the name of the keyword to be modified.

1
Modify (overwrite) the nth 80-character header record in the CHU

        FTMREC(unit,key_no,card, > status)

2
Modify (overwrite) the 80-character header record for the named keyword in the CHU. This can be used to overwrite the name of the keyword as well as its value and comment fields.

        FTMCRD(unit,keyword,card, > status)

3
Modify (overwrite) the name of an existing keyword in the CHU preserving the current value and comment fields.

        FTMNAM(unit,oldkey,keyword, > status)

4
Modify (overwrite) the comment field of an existing keyword in the CHU

        FTMCOM(unit,keyword,comment, > status)

5
Modify the value and comment fields of an existing keyword in the CHU. Optionally, one may modify only the value field and leave the comment field unchanged by setting the input COMMENT parameter equal to the ampersand character (&).

        FTMKY[JLS](unit,keyword,keyval,comment, > status)
        FTMKY[EDFG](unit,keyword,keyval,decimals,comment, > status)

6
Modify the value of an existing keyword to be undefined, or null. The value string of the keyword is set to blank. Optionally, one may leave the comment field unchanged by setting the input COMMENT parameter equal to the ampersand character (&).

        FTMKYU(unit,keyword,comment, > status)


next up previous contents FITSIO Home
Next: Update Keyword Subroutines Up: FITS Header I/O Subroutines Previous: Read Keyword Subroutines