!----------------------------------------------------------------------------
!
!      GC_NDM RESOURCE FILE
!
!
!      This file is used to construct the trigger, error, and success status
!      fields in the observation status file.
!
!
!----------------------------------------------------------------------------
!                          REVISION HISTORY
!----------------------------------------------------------------------------
! DATE     PR     Author     Description
! -------- ------ ---------- -----------------------------------------------
! 03/14/02 45319  Sherbert   Created; donated by ops
! 06/24/04 51412  Sherbert   For PR 50437 Remove DISPLAY_ORDER
! 11/13/06 49671  Hamilton   Changed HT to FT
! 02/19/08 58278  Sherbert   Remove confusing commented out lines
! 09/18/12 72255  Sherbert   get rid of DSQUERY
!
!----------------------------------------------------------------------------

PROCESS_NAME = GC_NDM           ! Short name for process id
TASK = <gcn_nicmos -p $PATH_FILE -r gc_ndm>
CLASS = NIC
DESCRIPTION = 'NIC DIA Generic Conversion'
SYSTEM = OPUS
OK_TO_UPDATE_DATABASE = BLANK   ! Determined by PATH

OSF_RANK = 1                    ! First Trigger
OSF_TRIGGER1.GC = w             ! Need a 'Wait' flag in Generic Conversion
OSF_TRIGGER1.DATA_ID = ndm      ! Also need the Data_id set to NICMOS dump

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

OSF_NOCAL.GC       = c          ! No CAL: Completed Generic Conversion
OSF_NOCAL.BC       = n
OSF_NOCAL.OM       = n
OSF_NOCAL.CA       = n          ! Don't even try to calibrate a dump
OSF_NOCAL.FT       = n          ! Don't fastrak
OSF_NOCAL.IN       = n          !
OSF_NOCAL.RQ       = w          ! No CAL: Allow CALNICA to create tra file

OSF_ERROR.GC       = e          ! Error:  Set the error flag


POLLING_TIME       = 10         ! Wait (seconds) before polling for next
LOOKBACK_TIME      = 10         ! time (days) to look back in WIEPHEMERIS
                                ! relation from obs start time to find
                                ! ephemeris data that was in effect during
                                ! observation (max 6 chars)

INPATH             = NIC_SIS_DIR ! Directory where the input files are found
OUTPATH            = DIA_ARCH_DIR       ! Directory where output files are written
MINBLOCKS          = 500000     ! blocks required on output disk
EXTENSION          = .pkx       ! This input file extension must exist
KEYWORD_RULE_CLASSES = "NIC,NCS" ! Used to load appropriate keyword rules
COORD_FRAME       = UNUSED

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

ENV.OPUS_SERVER = OPUS_SERVER
ENV.OPUS_DB = OPUS_DB
ENV.SPSS_SERVER = SPSS_SERVER
ENV.SPSS_DB = SPSS_DB
ENV.ARCH_SERVER = ARCH_SERVER
ENV.ARCH_DB = ARCH_DB
