!--------------------------------------------------------------------
!
!  epcgen.resource 
!
!
!      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
! -------- ------  --------- -------------------------------------
! 12/02/02 46669   Goldst    Created initial version 
! 06/24/04 51412   Sherbert  For PR 50437 Remove DISPLAY_ORDER
!--------------------------------------------------------------------

PROCESS_NAME = epcgen
TASK         = <epcgen -p $PATH_FILE -r epcgen>
DESCRIPTION  = 'Produce EPC FITS output'
SYSTEM       = FGS
CLASS        = epc

OK_TO_UPDATE_DATABASE = OK_TO_UPDATE_DATABASE ! Determined by path file

INTERNAL_POLLING_PROCESS  =  TRUE   

OSF_RANK = 1                 ! First Trigger

OSF_TRIGGER1.GN      = w     ! Trigger 
OSF_TRIGGER1.DATA_ID = epc   ! Trigger class ID
OSF_PROCESSING.GN    = p     ! Processing
OSF_COMPLETE.GN      = c     ! Completion
OSF_COMPLETE.RQ      = w     ! Trigger for archiving
OSF_FAILURE.GN       = f     ! Failure
 
POLLING_TIME         = 10    ! Wait (seconds) before polling for next   

INPATH            = EPC_RAW_DIR    ! Directory containing raw jitter files
OUTPATH           = EPC_OUTPUT_DIR ! Directory for initial obslogs

MINBLOCKS         = 50000          ! minimum blocks required on output disk

! forces values from path to be used

 ENV.OPUS_DB = OPUS_DB
 ENV.SPSS_DB = SPSS_DB
 ENV.DSQUERY = DSQUERY
