!
! Name: clnwf3.resource
!
! Purpose: This file is used to construct the trigger, error, and 
!          success status fields in the observation status file.
!
!	This resource file uses a file trigger.
!
!--------------------------------------------------------------------
!                          REVISION HISTORY
!--------------------------------------------------------------------
!            PR
!   DATE   NUMBER Developer  Description
! -------- ------ ---------- ----------------------------------------
! 04/01/08 59478  Sherbert   Add COS, WFC3 to OTFR
!--------------------------------------------------------------------

PROCESS_NAME = clnwf3           ! Short name for process id
TASK         = <xpoll -p $PATH_FILE -r clnwf3>
COMMAND      = clnxxx.pl            ! Name of the command procedure
DESCRIPTION  = 'Cleanup a request directory'
SYSTEM = OTFR
CLASS = otf

OSF_RANK             = 1        ! First Trigger
OSF_TRIGGER1.CL      = w        ! OSF status column and
OSF_TRIGGER1.DATA_ID = wf3      ! OSF data_id field

OSF_PROCESSING.CL  = p          ! Set the processing flag to 'Processing'

OSF_NORMAL.CL      = c          ! Normal: Completed

OSF_ERROR.CL       = e          ! Error:  Set the error flag

XPOLL_STATE.00 = OSF_NORMAL
XPOLL_STATE.01 = OSF_ERROR

XPOLL_ERROR.CL = x              ! Set osf to this if exit state is undefined.

POLLING_TIME  = 10              ! Wait (seconds) before polling for next 
ENV.OUTPATH   = wf3_recalib          ! OTFR location of request directories

ENV.DATA_REDUCTION_PATH = data_reduction_path  ! where science is processed
ENV.RESERVATION_PATH    = reservation_path     ! where science reservations occur
ENV.CALDIR      = wf3_cal_dir       ! location of calibrated files
ENV.SISDIR      = wf3_sis_dir       ! location of EDT set
ENV.POD_IN_DIR  = pod_in_dir   ! location of POD-whacked input POD
ENV.POD_OUT_DIR = pod_out_dir  ! location of POD-whacked output POD
