!-------------------------------------------------------------------------------
!
!  ASN_TABLE RESOURCE FILE
!
!  WF3 Association table 
!
!  This file is used to construct the trigger, error, and success 
!  status fields in the observation status file.
!
!-------------------------------------------------------------------------------
!                          REVISION HISTORY
!-------------------------------------------------------------------------------
!   DATE    PR   Developer  Description
! -------- ----- ---------- ----------------------------------------------------
! 02/01/07 56870 Sherbert   based on asnacs
!
!-------------------------------------------------------------------------------
CLASS = WF3
SYSTEM = OPUS
PROCESS_NAME = asntbl             ! Short name for process id
TASK = <asn_table -p $PATH_FILE -r asnwf3>
DESCRIPTION = 'WF3 Association Tables'
OK_TO_UPDATE_DATABASE = BLANK     ! Set by the path file

OSF_RANK = 1                      ! First Trigger
OSF_TRIGGER1.DC    = a            ! Need a wait for ASN_TABLE in GC
OSF_TRIGGER1.DATA_ID = w3a        ! Also need the Data_id set to ACA

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

OSF_NORMAL.DC      = c            ! Completed normally, say so.
OSF_NORMAL.GC      = n            !
OSF_NORMAL.OM      = n            !
OSF_NORMAL.BC      = w            ! Completed normally: wait for calibration

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

POLLING_TIME       = 20           ! Wait (seconds) before polling for next 
INPATH             = WF3_CAL_DIR  ! Directory where the input files are found
OUTPATH            = WF3_CAL_DIR  ! Directory where output files are written
MINBLOCKS          = 100000       ! blocks required on output disk
HEADER             = WFC3_ASSOCIATION_TABLE_HEADER
XHEADER            = WFC3_ASSOCIATION_TABLE_EXTENSION
EXTENSION          = *.trx        ! This input file extension must exist
PRODUCTS           = NONE         ! PRESENT/COMPLETE/NONE


ENV.OPUS_DB = OPUS_DB
ENV.SPSS_DB = SPSS_DB
ENV.DSQUERY = DSQUERY
ENV.ASSIST_DB = ASSIST_DB
