!--------------------------------------------------------------------
!
!      cat_sms 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
! -------- ------  --------- -------------------------------------
! 01/27/03 45981   Rose      Initial version
! 11/05/03 49564   Rose      Install in the pipeline
! 11/13/03 49564   Rose      AP is taken by ast_pipeline.  Use SC
! 11/14/03 49564   Rose      Add the ASNPATH and cross-wire the db
! 04/07/04 50879   J.Baum    Add KR_CLASSES, remove parallel_db data
! 04/30/04 50429   Goldst    Changed SYSTEM keyword value to PDR
! 05/03/04 50955   Goldst    Changed to trigger hkp_sci process
! 06/24/04 51412   Sherbert  For PR 50437 Remove DISPLAY_ORDER
! 02/25/05 53048   MSwam     Fix error OSF case
! 03/18/05 51433   MSwam     Use this PR to get change into OPUS 15.7
! 07/15/10 57271   MSwam     remove DB_RETRY
!--------------------------------------------------------------------

PROCESS_NAME = catalog_ascii    ! Short name for process id
TASK = <catalog_ascii_main.py -p $PATH_FILE -r cat_sms>
CLASS = sms
INSTRUMENT = OMS
DESCRIPTION = 'Archive Catalog Ingest for SMS class'
SYSTEM = PDR
OK_TO_UPDATE_DATABASE = TRUE

OSF_RANK = 1                    ! First Trigger
OSF_TRIGGER1.SC = w             ! Waiting for catalog population
OSF_TRIGGER1.DATA_ID = sms      ! Also need the Data_id set to ACS

OSF_PROCESSING.SC  = p          ! Set the processing flag to 'Processing'
OSF_NORMAL.SC = u               ! Normal: Trigger the hkp_pdr process

OSF_FAIL.SC  = e                ! Error:  Set the trouble flag

POLLING_TIME  = 10              ! Wait (seconds) before polling for next 
INPATH        = PDR_SMS_DIR     ! Directories where the FITS files are found
LOG_DIR       = PDR_LOG_DIR     ! Location for catalog log files

MINBLOCKS     = 5000           ! blocks required on output disk

! forces values from path to be used

 ENV.OPUS_SERVER = OPUS_SERVER
 ENV.OPUS_DB     = OPUS_DB
 ENV.ARCH_SERVER = ARCH_SERVER
 ENV.ARCH_DB     = ARCH_DB
