!--------------------------------------------------------------------
!
!      	GIFIN RESOURCE FILE
!
!      	Sample pipeline: GIF file recognition.
!
!      	This file is used to construct the trigger, error, and success status
!      	fields in the observation status file.
!
!	This resource file illustrates how to implement a file trigger
!
!--------------------------------------------------------------------
!                          REVISION HISTORY
!--------------------------------------------------------------------
!            PR
!   DATE   NUMBER  User      Description
! -------- ------  --------- -------------------------------------
! 06/04/97 34299   Rose      Created 
! 07/08/97 33433   WMiller   Modify case for Unix
! 08/06/97 33432   MSwam     Mods/corrections
! 06/24/99 38324   WMiller   Set ENV vars
! 12/27/00 40375   Rose      Add required CLASS keyword
! 06/24/04 51412   Sherbert  For PR 50437 Remove DISPLAY_ORDER
!
!--------------------------------------------------------------------

PROCESS_NAME = gifin		! Short name for process id
TASK = <xpoll -p $PATH_FILE -r gifin>
COMMAND = gifin.csh		! Name of the command procedure
DESCRIPTION = ' GIF file recognition: Sample pipeline start'
SYSTEM = 'SAMPLE PIPELINE'
CLASS = GIF

FILE_RANK       = 1		! First Trigger
FILE_DIRECTORY1 = gif_data	! Where the GIF files start
FILE_OBJECT1    = *.gif		! File specification for searches
FILE_PROCESSING = _done		! Extension addition during processing
FILE_SUCCESS    = _done		! Extension addition if normal processing
FILE_ERROR      = _bad		! Extension addition if error

XPOLL_STATE.00 = FILE_SUCCESS
XPOLL_STATE.01 = FILE_ERROR

XPOLL_ERROR.IN = x              ! Set osf to this if exit state is undefined.

POLLING_TIME  = 10		! Wait (seconds) before polling for next 
ENV.INPATH    = gif_data	! Directory where the input files are found

MINBLOCKS     = 2000		! blocks required on output disk
ENV.OUTPATH   = gif_data        ! check for space on this disk
