!----------------------------------------------------------------------------
!
!  opus_tv.path_template
!
!----------------------------------------------------------------------------
! Date     Number  Author    Reason
!----------------------------------------------------------------------------
! 06/09/97 33428   MSwam     Create a UNIX version
! 07/24/98 37263   WMiller   Rename file
! 01/14/99 38161   Rose      ACS pipeline examples
! 01/14/00 39307   Heller    Add POD_ARCH_DIR
! 05/10/00 36852   MARose    Add SPSS_DB
! 06/14/00 41693   Sherbert  Add DUDDPR, DUDDPQ
! 08/24/00 41932   WMiller   Add HT items
! 01/26/01 43165   MSwam     Add pod_osf_check
! 02/12/01 42184_02 MSwam    Add ARCH_SERVER,ARCH_DB
! 03/19/01 43165_06 MSwam    Add otfr_world
! 04/17/03 45179   Heller    *.ok_to_update_database delete
! 10/08/03 49496   MSwam     Replace otfr_world with recollect_ok,create_asn_osf
! 10/21/03 49496.1 MSwam     Added *.ok_to_update_database back in
! 11/19/03 49468   MSwam     Add bestref/REF entries
! 11/21/03 45981   MSwam     Add SAVE_INSERT_HISTORY
! 03/26/04 50429   Goldst    Update to support Unix ingest
! 04/09/04 50429   Goldst    Added OPUS_SERVER
! 04/21/04 50823   MSwam     Remove SAVE_INSERT_HISTORY
! 04/22/04 48726   MSwam     Add db_retry_interval
! 06/25/04 51412   Sherbert  Minor changes for consistency
! 07/08/04 51342   Baum      Remove INGEST_TABLE_FILTER
! 03/23/05 51433   MSwam     Change name from fullmaster to reference_file_defs
! 02/22/06 54699   MSwam     Add minblocks
! 02/15/07 56870   Sherbert  do not update db, more correct wf3 cal exts
! 04/27/10 49175   MSwam     Replace CDBS_SERVER,DB with REFFILE
! 08/12/10 64432   MSwam     add DB_TYPE for SYBASE or MSSQL use
! 09/18/12 72255   Sherbert  get rid of DSQUERY
! 12/12/12 71304   Sherbert  Add ARCHIVE_EDT_SET boolean, EDT_ARCH_DIR
!----------------------------------------------------------------------------
!
! When modifying this file, the user should change only things in double
! quotes "".  Text after "!" are optional comments.
!
!       **** All Keywords (mnemonics on left) must be ALLCAPS ****
!       ****    Do not change the names of any mnemonics!!!   ****
!       ****           Only change mnemonic values.           ****
!
!----------------------------------------------------------------------------
!
! eg: OPUS_OBSERVATIONS_DIR = /home/mswam/bb/  !directory MUST end with slash
! pipeline directories might be specified as /data3/thoros/sis/acs/
!
!----------------------------------------------------------------------------
! DO NOT CHANGE THE DEFINITIONS OF THE FOLLOWING MNEMONICS, BUT VERIFY
! THESE DIRECTORIES EXIST IN YOUR RUN-TIME ENVIRONMENT.
!----------------------------------------------------------------------------
!
! filespec for defining pipeline stages
STAGE_FILE              = OPUS_DEFINITIONS_DIR:opus_tv_pipeline.stage      

! Process Status File, and misc tempory file.
OPUS_HOME_DIR           = OPUS_HOME_DIR  

OPUS_OBSERVATIONS_DIR   = _empty_OBS_ROOT/_empty_PATHMAP[]/
                            ! Obs. Status File
OPUS_TEMP_DIR           = _empty_PATH_BASEDIR/_empty_PATHMAP[]/temp/
                            ! Scratch area for intermediate

pod_osf_check           = TRUE   ! TRUE if DP checks for an existing OSF
OK_TO_UPDATE_DATABASE   = FALSE  ! Database update flag (default is FALSE)
*.OK_TO_UPDATE_DATABASE = FALSE
ARCHIVE_EDT_SET         = TRUE   ! Send EDT set to archive/ingest

POLLING_TIME            = _empty_POLLING_TIME ! Polling time.

PROC_TYP                = NORMAL ! Processing type (NORMAL, REALTIME, REPRO etc)
recollect_ok            = FALSE  ! set to TRUE for science path used with OTFR
create_asn_osf          = TRUE   ! set to FALSE for science path used with OTFR
bestref_input_mode      = fits   ! input mode feeding the REF processes
bestref_sqloutfile      = none   ! only used in DB input mode of bestref

!ref file rules
REF_SELECT_FILE         = OPUS_DEFINITIONS_DIR:reference_file_defs.xml  

db_retry_interval       = 3600   ! secs between retry of failed Python DB query

DB_TYPE                 = _empty_DB_TYPE
                            ! SYBASE or MSSQL
OPUS_SERVER             = _empty_OPUS_SERVER  ! Data base server for OPUS
OPUS_DB                 = _empty_OPUS_DB      ! Data base i.e. opustest2
SPSS_SERVER             = _empty_SPSS_SERVER  ! Data base server for SPSS
SPSS_DB                 = _empty_SPSS_DB      ! Data base i.e. opus_spss2
ASSIST_SERVER           = _empty_ASSIST_SERVER! Data base server for ASSIST
ASSIST_DB               = _empty_ASSIST_DB    ! Data base i.e. assistops
PROP_SERVER             = _empty_PROP_SERVER  ! Data base server for proposals
PROP_DB                 = _empty_PROP_DB      ! Data base i.e. proper_rep
ARCH_SERVER             = _empty_ARCH_SERVER  ! Db server for archive database
ARCH_DB                 = _empty_ARCH_DB      ! Db name for archive database
REFFILE_SERVER          = _empty_REFFILE_SERVER  ! Db server for reffile database
REFFILE_DB              = _empty_REFFILE_DB      ! Db name for reffile database

! Directory where the input files are found
POD_IN_DIR          = _empty_PATH_BASEDIR/_empty_PATHMAP[]/dat/dct/

! Where the POD files are archived from
POD_ARCH_DIR        = _empty_PATH_BASEDIR/_empty_PATHMAP[]/dat/pod/

! Where the ANC files are archived from
ANC_ARCH_DIR        = _empty_PATH_BASEDIR/_empty_PATHMAP[]/dat/anc/

! Where the DIA files are archived from
DIA_ARCH_DIR        = _empty_PATH_BASEDIR/_empty_PATHMAP[]/cal/dia/

! Where EDT sets are archived from (arcins/DE)
EDT_ARCH_DIR        = _empty_PATH_BASEDIR/_empty_PATHMAP[]/dat/edt/

! DMP data (SIS directory)
DMP_SIS_DIR         = _empty_PATH_BASEDIR/_empty_PATHMAP[]/sis/dmp/

! COS CAL and SIS directory
COS_SIS_DIR         = _empty_PATH_BASEDIR/_empty_PATHMAP[]/sis/cos/
COS_CAL_DIR         = _empty_PATH_BASEDIR/_empty_PATHMAP[]/cal/cos/
cos_cal_file_ext    = _[cfx][ol1]* !file extensions for calibration output

! until it is official, point here for calcos
CALCOSDISK          = _empty_CALCOSDISK  
USE_REPEATABLE_RANDSEED = FALSE
                              ! FOR THERVAC
                              ! perform optimum CALCOS calibration, using
                              ! random number seed

! WFC3 CAL and SIS directory
WF3_SIS_DIR         = _empty_PATH_BASEDIR/_empty_PATHMAP[]/sis/wf3/
WF3_CAL_DIR         = _empty_PATH_BASEDIR/_empty_PATHMAP[]/cal/wf3/
wf3_cal_file_ext    = _[cfi][rlm]*  !file extensions for calibration output

! until it is official, point here for calwf3
CALWF3DISK          = _empty_CALWF3DISK  

! Trailer file directory
TRL_DIR             = _empty_PATH_BASEDIR/_empty_PATHMAP[]/dat/trl/

! Archive logging directory
LOG_DIR             = _empty_PATH_BASEDIR/_empty_PATHMAP[]/log/

! Ingest Pipeline path file name
INGEST_PATH_NAME    = _empty_PATHMAP[ingest_auto].path

INGEST_STAGE_ID1    = MI                ! Mission stage ID
INGEST_STAGE_ID2    = RM                ! Request manager stage ID

! Root directory of ingest path
INGEST_PATH_ROOT     = _empty_PATHMAP[ingest_auto]->INGEST_PATH_ROOT
big_MINBLOCKS        = _empty_big_MINBLOCKS
really_big_MINBLOCKS = _empty_really_big_MINBLOCKS
