!--------------------------------------------------------------------
!
!  ss_ast RESOURCE FILE
!
!
!      This file is used to construct the trigger, error, and success status
!      fields in the observation status file for the astrometry pipeline 
!      invocation of the SSKEY process.
!
!
!--------------------------------------------------------------------
!                          REVISION HISTORY
!--------------------------------------------------------------------
!            PR
!   DATE   NUMBER  User      Description
! -------- ------  --------- -------------------------------------
! 07/19/97 34074   JSCHULTZ  Initial file for SS_AST process
! 05/10/00 36852   MARose    Add SPSS_DB
! 10/24/01 44684   Goldst    Updated for OPUS AST pipeline
! 01/15/02 45016   Goldst    Corrected Trigger
! 01/30/02 45016   Goldst    Corrected OK_TO_UPDATE_DATABASE
! 07/18/02 43963   jschultz  corrected OUTPATH mnemonic and deleted
!                            the INPATH mnemonic
! 10/04/02 46352   Goldst    Add ENV.ASSIST_DB
! 06/24/04 51412   Sherbert  For PR 50437 Remove DISPLAY_ORDER
!--------------------------------------------------------------------

PROCESS_NAME = ss_ast		
TASK         = <sskey -p $PATH_FILE -r ss_ast>
DESCRIPTION  = 'Acquire astrometry support schedule data'
SYSTEM       = AST
CLASS        = ast

INSTRUMENT = FGS
INST_CODE  = F

OK_TO_UPDATE_DATABASE = OK_TO_UPDATE_DATABASE ! Determined by path file

INTERNAL_POLLING_PROCESS  =  TRUE   

OSF_RANK = 1                    ! First Trigger

OSF_TRIGGER1.AK    = a          ! Trigger for SS_AST process
OSF_PROCESSING.AK  = p          ! Set the processing flag to 'Processing'
OSF_NORMAL.AK      = c          ! Completed SS_AST processing
OSF_NORMAL.FA      = w          ! Completed
OSF_ERROR.AK       = f          ! Error:  Set the trouble flag

POLLING_TIME  = 10              ! Wait (seconds) before polling for next 

MINBLOCKS     = 50000           ! blocks required on output disk

! forces values from path to be used

ENV.OUTPATH = AST_RAW_DIR       ! Output directory for the ast .dgx file
ENV.OPUS_DB = OPUS_DB
ENV.SPSS_DB = SPSS_DB
ENV.ASSIST_DB = ASSIST_DB
ENV.DSQUERY = DSQUERY
