!--------------------------------------------------------------------
!
!      DV_COS 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
! -------- ------ ---------- -------------------------------------
! 09/19/01 44435  Rose       Initial version
! 06/24/04 51412  Sherbert   For PR 50437 Remove DISPLAY_ORDER
! 12/22/10 38534  MSwam      Change TASK to dv_cos
! 09/18/12 72255  Sherbert   get rid of DSQUERY
!
!--------------------------------------------------------------------

PROCESS_NAME = dv_cos		! Short name for process id
TASK = <dv_cos -p $PATH_FILE -r dv_cos>
CLASS = cos
DESCRIPTION = 'COS Data Evaluation'
SYSTEM = OPUS
INSTRUMENT  = COS
INST_CODE   = L
OK_TO_UPDATE_DATABASE = BLANK	! Determined by PATH
INTERNAL_POLLING_PROCESS  =  TRUE   

OSF_RANK = 1			! First Trigger
OSF_TRIGGER1.DV = w		! Need a 'Wait' flag in Data Validation
OSF_TRIGGER1.DATA_ID = cos	! Also need the Data_id set to COS
OSF_TRIGGER2.DV = w		! Need a 'Wait' flag in Data Validation
OSF_TRIGGER2.DATA_ID = cdm	! Also need the Data_id set to COS 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.GC   = w		! Dump data: Produce FITS files

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

POLLING_TIME  = 10		! Wait (seconds) before polling for next 
INPATH        = COS_SIS_DIR	! Directory where the input files are found
OUTPATH       = COS_SIS_DIR	! Output directory for the ACS
MINBLOCKS     = 50000		! blocks required on output disk
EXTENSION     = .ulx		! This input file extension must exist
SM4_WFC_GAIN_CHANGE_DATE = '1990.001:00:00:00' !not used

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

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