lastimage --
NAME
lastimage --
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 spec|imag [-tail]
Arguments:
spec = find last spec image in soutdir
imag = find last imag image in ioutdir
-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 = spec or imag mode not specified
2 = 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
OSIRIS script index
Go to:
OSIRIS Home Page -
Instruments Home Page -
Keck Home Page
Last modified: Wed Sep 23 15:56:09 2020