!-------------------------------------------------------------------------------
!
!      CALW3A RESOURCE FILE
!
!
!      This file is used to construct the trigger, error, and success status
!      fields in the observation status file.
!
!
!-------------------------------------------------------------------------------
!                          REVISION HISTORY
!-------------------------------------------------------------------------------
!            PR
!   DATE   NUMBER    User    Description
! -------- ------ ---------- ---------------------------------------------------
! 01/03/08 57556  Sherbert   Process ASNs first then singletons
! 11/25/09 63713  Sherbert   Trigger MD
!
!-------------------------------------------------------------------------------
PROCESS_NAME = calw3a           ! Short name for process id
TASK = <xpoll -p $PATH_FILE -r calw3a>
COMMAND = calwf3.csh            ! Name of the command procedure
DESCRIPTION = 'WF3 Calibration'
SYSTEM = OPUS
CLASS = WF3

OSF_RANK = 1                     ! OSF Trigger 
OSF_TRIGGER1.CA = w              ! pick up associations
OSF_TRIGGER1.DATA_ID = w3a       !

OSF_TRIGGER2.CA = w              ! pick up singletons
OSF_TRIGGER2.DATA_ID = wf3       !

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

XPOLL_STATE.00 = OSF_NORMAL      ! Normal: Completed calibration successfully
OSF_NORMAL.CA      = m           ! Drizzle 

XPOLL_STATE.01 = OSF_ERROR       ! Error during calibration
OSF_ERROR.CA       = e           ! 

XPOLL_STATE.02 = OSF_NOCAL       ! Bypass calibration
OSF_NOCAL.CA       = n           ! No calibration required.
OSF_NOCAL.AC       = n           ! No after calibration
OSF_NOCAL.FT       = n           ! No calibration required.
OSF_NOCAL.RQ       = w           ! wait for archiving

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

POLLING_TIME        = 10         ! Wait (seconds) before polling for next 
MINBLOCKS           = 1000000    ! 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
