!--------------------------------------------------------------------
!
!      DVONIC RESOURCE FILE
!
!      An OTFR override for DV to skip PMDB_PDB comparison
!
!      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/15/08 60890   Sherbert  Create an OTFR override
!
!--------------------------------------------------------------------

PROCESS_NAME = dv_nic		! Short name for process id
TASK = <dv_nicmos -p $PATH_FILE -r dvonic>
CLASS = nic
DESCRIPTION = 'NIC Data Evaluation'
SYSTEM = OTFR
INSTRUMENT  = NICMOS
INST_CODE   = N
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 = nic	! Also need the Data_id set to NICMOS
OSF_TRIGGER2.DV = w		! Need a 'Wait' flag in Data Validation
OSF_TRIGGER2.DATA_ID = ndm	! Also need the Data_id set to NICMOS 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        = NIC_SIS_DIR		! Directory where the input files are found
OUTPATH       = NIC_SIS_DIR  	! Output directory for the NICMOS
MINBLOCKS     = 50000		! blocks required on output disk
EXTENSION     = .ulx		! This input file extension must exist
DO_PMDB_PDB_COMPARISON   = FALSE   
                                ! Compare new data, don't compare reprocessed

ENV.OPUS_DB = OPUS_DB
ENV.DSQUERY = DSQUERY

