Purpose

Loop until the named image is found in either the red or the
blue output directory

Usage

wfi <image> [timeout]

Arguments

image = name of the image for which to wait. This should be
the TAIL of the filename only (omit directory component)
timeout = maximum number of seconds to wait [default=infinite]

Output

None

Restrictions


Exit values

0 = normal completion
1 = wrong number of arguments
2 = timed out

Example

1) Wait until image "lblue0001.fits" has been taken

wfi lblue0001.fits

2)