!----------------------------------------------------------------------------
!
!      BIASTEMP RESOURCE FILE
!
!
!      This file is used to construct the trigger, error, and success status
!      fields in the observation status file.
!
!
!----------------------------------------------------------------------------
!                          REVISION HISTORY
!----------------------------------------------------------------------------
! DATE     PR      Author    Description
! -------- ------- --------- -----------------------------------------------
! 07/09/08 60367   MSwam     First version
!----------------------------------------------------------------------------

PROCESS_NAME = biastemp           ! Short name for process id
TASK = <xpoll -p $PATH_FILE -r biastemp>
CLASS = NIC
DESCRIPTION = 'Compute temperature from NICMOS bias'
SYSTEM = OPUS
COMMAND = temp_from_bias.csh            ! Name of the command procedure

OSF_RANK = 1                    ! First Trigger
OSF_TRIGGER1.BC = t             !
OSF_TRIGGER1.DATA_ID = nic      ! Also need the Data_id set to NICMOS

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

XPOLL_STATE.01 = OSF_NORMAL     ! Normal: Completed the step
OSF_NORMAL.BC      = c          !
OSF_NORMAL.CA      = w          ! Normal: Wait for CALNICA

XPOLL_STATE.03 = OSF_ERROR      ! Return status of 03 indicates error.
OSF_ERROR.BC       = f          ! Error:  Set the error flag

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

POLLING_TIME       = 10             ! Wait (seconds) before polling for next 
ENV.OUTPATH        = NIC_CAL_DIR    ! Directory where output files are written
EXTENSION        = _raw.fits        ! This input file extension must exist

