Name
lastimage -- return full disk name of the most recently acquired image
Purpose
Seeks the newest image in the current output
directory, and returns its full disk name.
Usage
lastimage [-tail]
Arguments
-tail = print only the tail of the filename
Output
The full or tail of the disk name is echoed to stdout
Exit values
0 = normal exit
1 = no images found
-1 = output directory not found
Example
1) Return the full name of the latest image:
lastimage
returns:
/dsk/iraid1/kics/2002jun06/d0606_0045.fits
2) Return the tail of the latest image:
lastimage -tail
returns
d0606_0045.fits
See Also
The shell script lastimage
DEIMOS script index
Go to:
DEIMOS Home Page -
Instruments Home Page -
Keck Home Page
DEIMOS Master
Last modified: Sat Aug 31 19:57:15 2013