DEIMOS
obslog script

Name

obslog -- generate logsheet data from image headers

Purpose

Given a list of images, parse the image headers and print
out a formatted list of data. With no arguments, parse all of
the images in the current directory.

Usage

obslog [-D] [-l] [-v] {-i <interval>] [n | images]

Arguments

n = number of latest images to parse.
images = names of images to parse. If no images are listed,
then all images in the current directory will be read
(EXCEPT for backup.fits).

Options

-D = enable debug mode
-v = verbose mode
-l = enable "looping" mode
-i = re-print header at the specified interval [default = 20 images]
-L = print linefeed on each header after first

Output

to STDOUT

Restrictions
None

Note

The output from this program is extra wide. To print it, use
this command:
enscript -1r -c -f Courier9 -P lw4s

Exit values

0 = normal completion
1 = wrong number of arguments

Example

1) Generate log data for all images in the current directory:
obslog

) Generate log data for the last 5 images in the current directory:
obslog 5

3) Generate log data for all images in the directory
/s/sdata1001/deimos1/2003jan01:
obslog /s/sdata1001/deimos1/2003jan01/*.fits

See Also

The shell script obslog
DEIMOS script index


Go to: DEIMOS Home Page - Instruments Home Page - Keck Home Page

Last modified: Sat Sep 28 00:56:56 2013