!--------------------------------------------------------------------
!
! DC_WF3 (DC_collect - C++ version) RESOURCE FILE
!
!--------------------------------------------------------------------
!                          REVISION HISTORY
!--------------------------------------------------------------------
!             PR
!   DATE    NUMBER  Developer Description
! -------- -------- --------- ---------------------------------------
! 12/12/98 37348    Rose      Created 
! 03/16/99 37348_02 Rose      use INPATH as source of trailers
! 06/24/99 38324    WMiller   Set ENV vars
! 07/14/99 38930    Rose      Use generic data collector
! 09/20/99 39546    Rose      resource switch is now -r
! 03/22/00 40964    Rose      Capitalize the stage
! 05/15/00 41303    Heller    exit status 101 is reserved for fatal errors
! 08/21/00 39971    Ken S.    Add env. trigger for DC to resource file.
! 03/19/01 43165_06 MSwam     Add OTFR_WORLD
! 06/17/02 45279    Slowinski modify member trigger
! 10/03/02 46357    Sherbert  prevent creation of unnecessary *0.trx
! 09/30/03 49496    MSwam     add OTFR_MEMBER_ONLY exit status,replace
!                             OTFR_WORLD with RECOLLECT_OK,CREATE_ASN_OSF
! 04/23/04 51077    J.Baum    Must have RQ status be c instead of n
! 06/24/04 51412    Sherbert  For PR 50437 Remove DISPLAY_ORDER
! 06/12/08 59892    Sherbert  change member RS to n
! 06/06/11 46330    MSwam     use dc_collect C++ code now
!
!--------------------------------------------------------------------

SYSTEM = OPUS
CLASS  = WF3
PROCESS_NAME = dc_wf3              ! Short name for process id
TASK = <dc_collect -p $PATH_FILE -r dc_wf3 >
DESCRIPTION = 'WF3 data collector'

OSF_RANK = 1                       ! First Trigger
OSF_TRIGGER1.GC      = c           ! Need a 'Complete' flag in GC column
OSF_TRIGGER1.DC      = v           ! Waiting for Data Collector
OSF_TRIGGER1.DATA_ID = wf3         ! ....only for the WF3

OSF_PROCESSING.DC    = p           ! Set the processing flag to 'Processing'

OSF_MEMBER.DC        = c           ! Completed conversion (no further proc)
OSF_MEMBER.AC        = n           ! do not perform after calib step
OSF_MEMBER.RQ        = n           ! Archive when association is complete
OSF_MEMBER.CL        = v           ! Clean only when association is done

OSF_SINGLE.BC        = w           ! Wait for calibration of singleton
OSF_SINGLE.DC        = n           ! Not a member of an association

OSF_DUPLICATE.DC     = f           ! Can't have duplicates

OSF_ERROR.DC         = e           ! Error:  Set the error flag

OTFR_MEMBER_ONLY.BC  = w                ! trigger it for calibration
OTFR_MEMBER_ONLY.DC  = n                ! the asn wasn't requested

NEW_ASN_OSF.DC       = v           ! association OSF starting state
READY_ASN_OSF.DC     = a           ! association OSF collected state

POLLING_TIME     = 20          ! Wait (seconds) before polling for next 
INPATH           = WF3_SIS_DIR ! Directory where the input files are found
OUTPATH          = WF3_CAL_DIR ! Directory where output files are written
MINBLOCKS        = 50000       ! blocks required on output disk
ASN_CLASS        = w3a         ! Class for the WF3 associations.
RECOLLECT_OK     = recollect_ok   ! must be TRUE in OTFR science path file
CREATE_ASN_OSF   = create_asn_osf ! must be FALSE in OTFR science path file
WRITE_TRAILER    = FALSE       ! do NOT create empty 0-th product *.trx files 
                               ! in SIS dir
ASN_TRA_EXTENSION = .tra     ! the CAL_DIR association trailer suffix
ASN_TRX_EXTENSION = .trx     ! the SIS_DIR association trailer suffix
APPEND_MEMBER_TRAILERS = FALSE ! TRUE for NICMOS only, at present
