1dfits(1) General Commands Manual dfits(1)
2
3
4
6 dfits - display FITS file header information
7
9 dfits [-x xtnum] <list>
10 dfits [-x xtnum] -
11
13 dfits displays FITS header informations on stdout. Header information
14 can be found in the main header only (default), in extensions, or in
15 both. See the -x option below. dfits accepts multi-file input.
16 'dfits -' expects single file data coming from stdin. dfits also
17 accepts now 'HDR' files. These are identified from the fact that they
18 contain a line feed in one of the 80 first characters.
19
21 -x xtnum
22 Specifies the extension to print out. Extensions are numbered
23 starting from 1. If this option is not specified, only the main
24 header is printed out. If this option specifies an extension
25 that does not exist, nothing is printed out.
26 Specify 0 as extension number to get a print of the main header
27 plus all extension headers.
28
29 Examples :
30 dfits *.fits
31 dfits *.fits | grep NAXIS3
32 gzip -d < star.fits.gz | dfits - | more
33 dfits -x 0 *.fits
34 dfits -x 3 *.fits
35
37 fitsort can be combined with dfits output to sort out keyword values of
38 a group of FITS files.
39
41 Files shall all comply with FITS format
42
43
44
45 30 Mar 2000 dfits(1)