!-------------------------------------------------------------------------------
!
!  CLNFOF RESOURCE FILE
!
!      This file is used to construct the trigger, error, and success status
!      fields in the observation status file.
!
!-------------------------------------------------------------------------------
!                          REVISION HISTORY
!-------------------------------------------------------------------------------
!   DATE     PR  Developer  Description
! -------- ----- ---------- ----------------------------------------------------
! 05/29/98 36120 Ken S.     Created 
! 01/20/99 37507 Ken S.     Process duplicate PNM files.
! 11/01/99 39597 JSCHULTZ   add LOGPATH mnemonic
! 01/20/00 39109 Ken S.     Add wait status.
! 10/24/01 44684 Goldst     Standardized OPUS EDR pipeline version
! 01/30/02 45016 Goldst     Corrected OK_TO_UPDATE_DATABASE
! 03/11/02 45016 Goldst     Added OSF_TRIGGER1 and 2.DATA_ID
! 03/15/02 45016 Goldst     Corrected PNM 2.DATA_ID (to pnm)
! 03/29/02 45016 Goldst     Changed per new requirements
! 04/02/02 45016 Goldst     Added FILE_DUPLICATE, FILE_DONE and
!                            EXTENSION
! 02/27/03 47731 J.Baum     Use uppercase TXT extensions for PNM file
! 06/24/04 51412 Sherbert   For PR 50437 Remove DISPLAY_ORDER
! 07/19/06 52625 Sherbert   Remove extraneous OSF_RANK entries
!-------------------------------------------------------------------------------

PROCESS_NAME = clnfof
TASK         = <clnfof -p $PATH_FILE -r clnfof>
DESCRIPTION  = 'CLEANS files transfered from CCS'
SYSTEM       = EDR
CLASS        = all

OK_TO_UPDATE_DATABASE = OK_TO_UPDATE_DATABASE ! Determined by path file

INTERNAL_POLLING_PROCESS  =  TRUE   

OSF_RANK = 1                    ! OSF Triggers for FOF
OSF_TRIGGER1.PN = c             ! OSF complete status
OSF_TRIGGER1.ZI = c             ! OSF complete status
OSF_TRIGGER1.CL = w             ! OSF next-step status
OSF_TRIGGER1.DATA_ID = fof      ! Trigger1 class ID

OSF_TRIGGER2.PN = c             ! OSF complete status
OSF_TRIGGER2.ZI = n             ! Not applicable to PNM processing
OSF_TRIGGER2.CL = w             ! OSF next-step status
OSF_TRIGGER2.DATA_ID = pnm      ! Trigger2 class ID

OSF_TRIGGER3.CL = s             ! Trigger for file deletion
OSF_TRIGGER3.DATA_ID = pnm      ! Trigger3 class ID

OSF_PROCESSING.CL = p           ! Set the processing flag to 'Processing'
FOF_COMPLETE.CL   = c           ! FOF Complete status
FOF_COMPLETE.DL   = c           ! FOF trigger for osf deletion
FOF_FAIL.CL       = f           ! FOF failed status
PNM_WAIT.CL       = w           ! PNM wait status
PNM_COMPLETE.CL   = c           ! PNM completion status
PNM_COMPLETE.DL   = c           ! PNM trigger for osf deletion
PNM_FAIL.CL       = f           ! PNM failed status

FILE_DUPLICATE    = _duplicate  ! For building name of file to delete
FILE_DONE         = _done       !                 "
EXTENSION         = .TXT        !                 "

POLLING_TIME  = 10              ! Wait (seconds) before polling for next 

PNMPATH        = EDR_RECEIPT_DIR  ! Directory of input files

! forces values from path to be used
