1keyhead(1)                  General Commands Manual                 keyhead(1)
2
3
4

Name

6       keyhead - Change FITS or IRAF header keyword names
7

Synopsis

9       sethead [-hknv] <FITS or IRAF file> kw1=kw1a kw2=kwd2a ... kwn=kwdna
10

Description

12       Change  the names of keywords in FITS or IRAF image headers.  Each cur‐
13       rent image keyword whose entry is to be modified should be followed  by
14       an equal sign and a second keyword, with no intervening spaces.  If the
15       -r option is used, the value of the second  keyword  is  transfered  to
16       that  of the first. Otherwise, the name of the first keyword is changed
17       to the second keyword.  To change keywords in a list of files,  substi‐
18       tute  @<listfile>  for the file names on the command line.  To change a
19       lot of keywords, put them, one pair separated by an = sign with no spa‐
20       ces  per  line,  in a file and substitute @<keylistfile> on the command
21       line.  If two @ commands are present, the program will figure out which
22       contains  file  names  and which contains keywords.  Lines in a keyword
23       list file which do not contain an = are ignored.
24
25

Options

27       -h     Write HISTORY line into output header with sethead version, cur‐
28              rent date and time, and names of keywords set.
29
30       -k     Write  KEYHEAD  keyword into output header with the keyhead ver‐
31              sion, current date and time, and names of keywords  whose  names
32              are  changed.  If a KEYHEAD keyword already exists, move the old
33              value to a HISTORY line before writing the new value
34
35       -n     Write a new file with an added "e" before the extension.
36
37       -r letter
38              Replace value of 1st keyword with value of 2nd  keyword  instead
39              of changing the name of the 1st keyword to the 2nd keyword.  The
40              2nd keyword remains in the header.  If the 1st keyword does  not
41              exist in the header, it is created.
42
43       -v     Print confirmations of each keyword change.
44
45

Web Page

47       http://tdc-www.harvard.edu/software/wcstools/keyhead.html
48
49

Author

51       Jessica Mink, SAO (jmink@cfa.harvard.edu)
52
53
54
556 July 2001                        WCSTools                         keyhead(1)
Impressum