CHECK_PSF
This routine is in charge of renaming any observation's Observation
Status File (OSF) who may have become 'P' frozen due to a processing crash.
The input to the program is a Process Status File (PSF). The PSF is made
up of the process name, path, and current status. Using this information
generic OPUS routines are used to find the trigger positions via the resource
files. The program then looks for a matching OSF in the opus_observations_dir
defined in the path. If the current processing step is marked as 'P' this
program will rename the step to 'X'. This should alert the user that the
observation is not pending nor successfully completed this processing step.
This executable is expected to be run only by the opus pipeline command
procedures.
FORMAT: $ check_psf
Parameters
Process_Status_File
The format of a valid process status file can be found in the Glossary,
Sections 1.3 of the OPUS User's Guide.