!--------------------------------------------------------------------
!
!  jitgen.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
! -------- ------  --------- -------------------------------------
! 10/24/01 44684   Goldst    Created initial version 
! 01/15/02 45016   Goldst    Corrected Trigger
! 01/30/02 45016   Goldst    Corrected OK_TO_UPDATE_DATABASE
! 03/11/02 45016   Goldst    Added OSF_TRIGGER1.DATA_ID
! 03/26/02 45016   Goldst    Added AST_COMMAND keyword
! 12/02/02 46669   Goldst    Change to JITGEN per EPC changes
! 06/24/04 51412   Sherbert  For PR 50437 Remove DISPLAY_ORDER
! 09/18/12 72255   Sherbert  get rid of DSQUERY
!--------------------------------------------------------------------

PROCESS_NAME = jitgen 
TASK         = <jitter -p $PATH_FILE -r jitgen>
DESCRIPTION  = 'Produce FITS jitter'
SYSTEM       = FGS
CLASS        = fgs

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 = fgs   ! Trigger class ID
OSF_PROCESSING.GN    = p     ! Processing
OSF_COMPLETE.GN      = c     ! Completion
OSF_COMPLETE.DC      = w     ! Trigger for dc_jit
OSF_FAILURE.GN       = f     ! Failure
 
POLLING_TIME         = 10    ! Wait (seconds) before polling for next   

INPATH            = FGS_RAW_DIR    ! Directory containing raw jitter files
OUTPATH           = FGS_OUTPUT_DIR ! Directory for initial obslogs

AST_PATH          = AST_PATH_NAME  ! Value from AST Pipeline's ASTKWD Process
AST_COLUMN        = AK             ! Value from AST Pipeline's ASTKWD Process
AST_HOLD          = h              ! Value from AST Pipeline's ASTKWD Process
AST_WAIT          = w              ! Value from AST Pipeline's ASTKWD Process
AST_COMMAND       = jitter_ast_osf_update.pl

MINBLOCKS         = 50000          ! minimum blocks required on output disk

! forces values from path to be used (unless overridden in opus_login?)

ENV.OPUS_DB = OPUS_DB
ENV.OPUS_SERVER = OPUS_SERVER
ENV.SPSS_DB = SPSS_DB
ENV.SPSS_SERVER = SPSS_SERVER
