!--------------------------------------------------------------------
!
!      DV_STIS 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
! -------- ------  --------- -------------------------------------
! 06/04/96 28179   Rose      Created 
! 07/15/97 34573   Rose      Add INSTRUMENT and INST_CODE
! 11/04/98 37346   Rose      Make status codes lower case
! 09/09/99 39545   Rose	     unix task name is dv_stis
! 06/24/04 51412   Sherbert  For PR 50437 Remove DISPLAY_ORDER
! 10/15/08 60890   Sherbert  Add a new keyword
!
!--------------------------------------------------------------------

PROCESS_NAME = DV_STI		! Short name for process id
TASK = <dv_stis -p $PATH_FILE -r dv_sti>
CLASS = STI
DESCRIPTION = 'STIS Data Evaluation'
SYSTEM = OPUS
INSTRUMENT  = STIS
INST_CODE   = O
OK_TO_UPDATE_DATABASE = BLANK	! Determined by PATH

OSF_RANK = 1			! First Trigger
OSF_TRIGGER1.DV = w		! Need a 'Wait' flag in Data Validation
OSF_TRIGGER1.DATA_ID = sti	! Also need the Data_id set to STIS
OSF_TRIGGER2.DV = w		! Need a 'Wait' flag in Data Validation
OSF_TRIGGER2.DATA_ID = sdm	! Also need the Data_id set to STIS Dump

OSF_PROCESSING.DV  = p		! Set the processing flag to 'Processing'

OSF_NORMAL.DV = c		! Normal: Completed Data Validation
OSF_NORMAL.WC = w               ! Normal: Schedule for World Coordinate System

OSF_DUMP.DV   = c		! Dump data: Completed Data Validation
OSF_DUMP.WC   = n  		! Dump data: Don't do WCS
OSF_DUMP.DC   = n               ! Dump data: Don't do data collector
OSF_DUMP.GC   = w		! Dump data: Produce FITS files

OSF_ERROR.DV  = e		! Error:  Set the trouble flag

POLLING_TIME  = 10		! Wait (seconds) before polling for next 
INPATH        = STI_SIS_DIR		! Directory where the input files are found
OUTPATH       = STI_SIS_DIR     	! Output directory for the STIS
!TROUBLE_DIR   = DUDDTO		! This is the trouble directory.
MINBLOCKS     = 100000		! blocks required on output disk
EXTENSION     = .ulx		! This input file extension must exist
DO_PMDB_PDB_COMPARISON   = TRUE   
                                ! Compare new data, don't compare reprocessed

! forces values from path to be used

 ENV.OPUS_DB = OPUS_DB
 ENV.DSQUERY = DSQUERY

