BAIT: photo_proc script

NAME

photo_proc - takes image of celestial object and corrects it

SYNOPSIS

photo_proc

DESCRIPTION

photo_proc takes a picture of an astronomical target, and is usually invoked thru telco. It takes an image using the RA, DEC, FILTERS, DATID and EXPTIME set in the environment using the photo command. Then in the background it invokes photo_proc2 which does the bias, dark and flat field corrections using the ccdproc procedure.

The background procedure checks the environment variable SENDMAIL. If it is true (T), the image is compressed into a file with the name $DATID.ftz and queued for transmission to the remote system. Also a line is entered into the file sendmail.log so the observer can be informed by e-mail by morning.csh

SEE ALSO

ccdproc, morning.csh, photo, telco

BUGS

The HOME_DIR must be specified in the environment. It really should be derived from the FITS header in the image.