!-------------------------------------------------------------------------------
!
! Name: ingest_OWL.resource
!
! Purpose: Supplies task settings for the ingest_OWL.py command
!
! History:
! -------- ------ --------- ----------------------------------------------------
! 01/11/13 71706  MSwam     first version
!-------------------------------------------------------------------------------
!-------------------------------------------------------------------------------
! required OPUS stuff, though not used for OWL
PROCESS_NAME = ingest_OWL             ! Short name for process id
TASK = <xpoll -p $PATH_FILE -r ingest_OWL>
COMMAND      = ingest_OWL.py          ! Name of the command procedure
DESCRIPTION  = 'Ingest workflow for OWL'
SYSTEM       = OWL
CLASS        = NONE
OSF_RANK = 1                      ! OSF Triggers
OSF_TRIGGER1.CA = z               ! wait for [Multi]Drizzle
OSF_TRIGGER1.DATA_ID = zzz        ! ACS association normally
OSF_PROCESSING.CA = p             ! Set flag while 'Processing'
XPOLL_STATE.00  = OSF_NORMAL      ! Normal: Completed Drizzle successfully
OSF_NORMAL.CA     = c             ! Completed Drizzle successfully
OSF_NORMAL.AC     = w             ! Wait for next stage
XPOLL_STATE.01  = OSF_ERROR       ! Error during Drizzle
OSF_ERROR.CA      = f             ! differentiate from Cal error
XPOLL_ERROR.CA    = x             ! Set osf to this if exit state is undefined.
POLLING_TIME      = 10            ! Wait (seconds) before polling for next 
MINBLOCKS         = big_MINBLOCKS ! blocks required on output disk
!-------------------------------------------------------------------------------
!
! this should come from a .path file setting in the ingest-related .path
!
INGEST_LOGICALS_DIR          = INGEST_LOGICALS_DIR
SKIP_NSA_INGEST              = SKIP_NSA_INGEST
CLEAN_AFTER_INGEST           = CLEAN_AFTER_INGEST
