!-------------------------------------------------------------------------------
!
!      BC_WF3TV RESOURCE FILE
!
!
!      This file is used to construct the trigger, error, and success status
!      fields in the observation status file.
!
!
!-------------------------------------------------------------------------------
!                          REVISION HISTORY
!-------------------------------------------------------------------------------
!              
!   DATE     PR   User       Description
! -------- -----  ---------- --------------------------------------------------
! 10/18/02 46823  Rose       Template for BC_WF3
! 10/23/03 49468  MSwam      Trigger CA
! 12/18/03 49468  MSwam      Don't trigger calibration now (thervac)
! 06/11/07 56870  Sherbert   Do trigger calibration now (thervac)
! 
!-------------------------------------------------------------------------------
PROCESS_NAME = bc_wf3tv		! Short name for process id
TASK = <xpoll -p $PATH_FILE -r bc_wf3tv>
COMMAND = bc_copytrx.csh	! Name of the command procedure
DESCRIPTION = 'WF3 TV Before Calibration'
SYSTEM = OPUS
CLASS = tv

OSF_RANK = 1			! First Trigger
OSF_TRIGGER1.BC = w             ! wait in pre calibration
OSF_TRIGGER1.DATA_ID = wf3	! WF3 exposures

OSF_PROCESSING.BC  = p		! Set flag while 'Processing'

XPOLL_STATE.00 = OSF_NORMAL	! Normal: Completed pre calibration successfully
OSF_NORMAL.BC      = c		! 
OSF_NORMAL.CA      = w		! Wait for next stage

XPOLL_STATE.01 = OSF_ERROR	! Error during pre calibration
OSF_ERROR.BC       = e		! 

XPOLL_STATE.02 = OSF_NOCAL      ! Bypass calibration
OSF_NOCAL.BC       = c          ! skip before calibration
OSF_NOCAL.CA       = n          ! skip calibration
OSF_NOCAL.RQ       = w          ! wait for archive request generation

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

POLLING_TIME       = 10		 ! Wait (seconds) before polling for next 
MINBLOCKS 	   = 1000	 ! blocks required on output disk
ENV.INPATH         = WF3_SIS_DIR ! Where the .trx file is found
ENV.OUTPATH        = WF3_CAL_DIR ! Directory where output files are written

