!--------------------------------------------------------------------
!
!      WCSCOS 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
! -------- ------  --------- -------------------------------------
! 07/13/07 55484   MSwam     first DUMMY version
! 07/22/08 56981   Mary      Make the call for the REAL version
!
!--------------------------------------------------------------------

PROCESS_NAME = WCS
!
! Currently make a DUMMY task until the WCSCOS code is ready 
!TASK = <wcs -p $PATH_FILE -r wcscos>
!TASK = <xpoll -p $PATH_FILE -r wcscos>
TASK = <wcs -p $PATH_FILE -r wcscos>
COMMAND = /bin/true 
DESCRIPTION = 'COS World Coordinate System'
CLASS = COS
SYSTEM = OPUS

INSTRUMENT           = COS ! 3-character instrument name
OSF_RANK             = 1   ! First Trigger
OSF_TRIGGER1.WC      = w   ! Need a 'Wait' flag in WC column
OSF_TRIGGER1.DATA_ID = cos ! Also need the Data_id set
OSF_PROCESSING.WC    = p   ! Set the processing flag to 'Processing'

WCS_OK.WC            = c   ! Normal: Completed World Coordinate System
WCS_OK.GC            = w
WCS_ERROR.WC         = e   ! Error:  Set the trouble flag
! use XPOLL exit for DUMMY task until wcscos is ready
XPOLL_STATE.00 = WCS_OK
MAX_ERROR         = 0            ! Make errors visible during development


INPATH               = COS_SIS_DIR ! Directory where the input files are found

! forces values from path file to be used

ENV.OPUS_DB = OPUS_DB
ENV.SPSS_DB = SPSS_DB
ENV.DSQUERY = DSQUERY
