!--------------------------------------------------------------------
!
!       WF2_ASN RESOURCE FILE
!
!       WFPC2 Association table 
!
!       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/20/02 46992   Heller    Created
! 02/11/03 46993   Heller    Make ASN table archiving optional, not needed
!                            in OTFR
! 10/08/03 49496   MSwam     Remove unused OTFR_WORLD
! 06/24/04 51412   Sherbert  For PR 50437 Remove DISPLAY_ORDER
!--------------------------------------------------------------------

PROCESS_NAME = wf2_asn ! Short name for process id
TASK = <wf2_asn -p $PATH_FILE -r wf2_asn>
CLASS = WF2 
DESCRIPTION = 'WF2 association table builder'
SYSTEM = OTFR
OK_TO_UPDATE_DATABASE = OK_TO_UPDATE_DATABASE   ! Determined by PATH


OSF_RANK = 1			! Second Trigger
OSF_TRIGGER1.BC = a   		! 'Wait' flag
OSF_TRIGGER1.DATA_ID = wf2      ! Only work on WF2s

OSF_PROCESSING.BC = p      ! Processing flag to 'Processing'
OSF_SUCCESS.BC = c         ! Done
OSF_ERROR.BC = e           ! Error
OSF_NO_ASSOCIATION.BC = n  ! Not needed

!WFPC2 ASN table is not ready for archiving in OPUS production pipeline
!ARCHIVE_ASN_TABLE.RQ = w 
!ENV.ASN_ARCH_CLASS = anc        ! osf data id for association table created

POLLING_TIME       = 10		! Wait (seconds) before polling for next 
ENV.INPATH  	   = WF2_SIS_DIR ! Directory where the input files are found
ENV.OUTPATH 	   = WF2_CAL_DIR ! Directory output files are written
MINBLOCKS 	   = 500000	! blocks required on output disk

 ENV.OPUS_DB = OPUS_DB
 ENV.DSQUERY = DSQUERY
 ENV.SPSS_DB = SPSS_DB
 ENV.ARCH_DB = ARCH_DB		!Where CACD database is located
 ENV.ARCH_SERVER = ARCH_SERVER

