!--------------------------------------------------------------------
!
!      DV_WF3TV 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
! -------- ------ ---------- -------------------------------------
! 05/28/02 45150  Rose       Initial version for WFC3
! 06/24/04 51412  Sherbert   For PR 50437 Remove DISPLAY_ORDER
! 12/20/10 38534  MSwam      add DO_PMDB_PDB_COMPARISON and change TASK name
! 09/18/12 72255  Sherbert   get rid of DSQUERY
!
!--------------------------------------------------------------------

PROCESS_NAME = dv_wf3tv		! Short name for process id
TASK = <dv_wfc3 -p $PATH_FILE -r dv_wf3tv>
CLASS = tv
DESCRIPTION = 'WF3 Data Evaluation'
SYSTEM = OPUS
INSTRUMENT  = WF3
INST_CODE   = I
OK_TO_UPDATE_DATABASE = OK_TO_UPDATE_DATABASE	! 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 = wf3	! Also need the Data_id 
OSF_TRIGGER2.DV = w		! Need a 'Wait' flag in Data Validation
OSF_TRIGGER2.DATA_ID = wdm	! Also need the Data_id set to WF3 Dump

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

OSF_NORMAL.DV = c		! Normal: Completed Data Validation
OSF_NORMAL.CP = w		! Normal: Copy the aux files

OSF_DUMP.DV   = c		! Dump data: Completed Data Validation
OSF_DUMP.CP   = w		! Dump data: Copy the aux 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        = WF3_SIS_DIR	! Directory where the input files are found
OUTPATH       = WF3_SIS_DIR	! Output directory for the WF3
MINBLOCKS     = 50000		! blocks required on output disk
EXTENSION     = .ulx		! This input file extension must exist
DO_PMDB_PDB_COMPARISON   = FALSE ! no need for TV data

! 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
