FITSLIST S.Lee 1994/06/24 v1.0 1998/02/14 v1.3 FITSLIST is a simple program to display the contents of a FITS file header. It does nothing more than print out all the lines in the header until it encounters the keyword 'END'. You can invoke FITSLIST with the name of the file on the command line, otherwise it will prompt for the file name. The file extension defaults to '.fts' but the environment variable FITS_EXT can be used to define a different default. You may override this by entering an extension directly to the file. e.g. SET FITS_EXT=FIT It checks the first line of the file for the keyword SIMPLE and its value being true (T) before continuing, as a simple test that the file might be a valid FITS file. FITSLIST pauses after every 20 lines, awaiting a carriage return before continuing. You may press 'q' at this point to terminate the program early. Version 1.3 now allows the number of lines/screen to be set from the command line. This can be useful if piping the output to a file - it won't then have breaks in it. To use this, it must be entered on the command line after the file name. Silly values force it back to 20 lines/screen. e.g. C:\CCD>fitslist m42v-g 100 > fitshead.txt Below is an example... ----------------------------------------------------------------------------- C:\CCD>fitslist m42v-g SIMPLE = T / Conforms to FITS standard BITPIX = 16 / Raw data:12 bits, unsigned NAXIS = 2 / 2 Dimensional data NAXIS1 = 756 / Pixels, 0.017mm NAXIS2 = 484 / Pixels, 0.01975mm INSTRUME= 'Cookbook 245 CCD ' / Instrument DATE-OBS= '01/01/1997 ' / day/month/year UT TIME-OBS= '14:22:58 ' / Start time HH:MM:SS UT EXPOSURE= 20 / Exposure in seconds EXPTIME = 20 / Exposure in seconds OBJECT = 'M42 - V ' / Name of object COMMENT M42 - V OBSERVER= 'Steven Lee ' / Name of observer TELESCOP= '20cm f/4.5+barlow ' / Telescope FILTER = 'V ' / Filter in beam ORIGIN = '"Rainbow" ' / Name of observatory OBS-LAT = -31.2786 / Latitude of observatory (S31d16'43") OBS-LONG= 149.2124 / Longitude of observatory (E149d12m44.5s) OBS-ALT = 580 / Altitude of observatory (580m) END -----------------------------------------------------------------------------