1gethead(1) General Commands Manual gethead(1)
2
3
4
6 gethead - Print FITS or IRAF header keyword values
7
9 gethead [-hptv] [-d pathname] [-n num] <FITS or IRAF file> kw1 kw2 ...
10 kwn
11
13 Print values of the specified keywords from the given image header. By
14 default they are all listed on one line, separated by spaces. The -v
15 flag causes the keyword names and values to be printed, one keyword per
16 line. To read keywords from a list of files, substitute @<listfile>
17 for the file names on the command line. To read a lot of keywords, put
18 them, one per line, in a file and substitute @<keylistfile> on the com‐
19 mand line. If two @ commands are present, the program will figure out
20 which contains file names and which contains keywords.
21
22
24 -a List file name even if keywords are not found
25
26 -d Root directory for input files (default is cwd)
27
28 -e Output keyword=value's on one line per file
29
30 -f Never print filenames (default is to print them if more than
31 one)
32
33 -g Output keyword=value's on one line per keyword
34
35 -h flag causes the keyword names to be printed at top of columns.
36
37 -n Number of decimal places in numeric output
38
39 -o OR conditions instead of ANDing them
40
41 -p Print full pathnames of files
42
43 -t flag causes the output to be in tab-separated tables with key‐
44 word column headings.
45
46 -u Always print ___ if keyword not found, event if only one keyword
47 in search
48
49 -v Print output as <keyword>=<value>, one per line
50
51
53 http://tdc-www.harvard.edu/software/wcstools/gethead.html
54
55
57 Jessica Mink, SAO (jmink@cfa.harvard.edu)
58
59
60
616 July 2001 WCSTools gethead(1)