!----------------------------------------------------------------------------
!
!  pdr.path_template
!
!----------------------------------------------------------------------------
!            PR
!   DATE   NUMBER  User      Description
! -------- ------  --------- -------------------------------------
! 10/24/01 44684   Goldst    Created initial version 
! 02/11/02 45016   Goldst    Add OK_TO_UPDATE_DATABASE
! 05/23/02 ?????   Goldst    Corrected PDR_HLD_DIR comment
! 08/09/02 46352   Goldst    Added default stage filespec
! 01/09/03 47134   Goldst    Changed to support cpymsc
! 04/17/03 45179   Heller    *.ok_to_update_database deleted
! 05/01/03 48515   J.Baum    Add PDR_REPLAN_SLEEP_SECS
! 12/10/03 49468   MSwam     Add KW_*, ARCH_*, PARALLEL_*
! 03/26/04 50429   Goldst    Update to support Unix ingest
! 04/09/04 50429   Goldst    Added OPUS_SERVER, removed PARALLEL keywords
! 06/25/04 51412   Sherbert  Minor changes for consistency
! 08/16/04 51412   Sherbert  No, really: remove PARALLEL keywords
! 01/13/05 48735   J.Baum    Add PDR_REPLAN_MAX_TRIES
! 07/13/05 53578   Sherbert  Minor comment change for pipeline stages line
! 05/09/06 55509   Sherbert  Comment change in capitalization for clarification
! 08/12/10 64432   MSwam     add DB_TYPE for SYBASE or MSSQL use
! 09/18/12 72255   Sherbert  get rid of DSQUERY
! 02/28/13 nnnnn   MSwam     add INGEST_PATH for OWL
!
!----------------------------------------------------------------------------
!
! 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
! otfcline 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.
!----------------------------------------------------------------------------

STAGE_FILE              = OPUS_DEFINITIONS_DIR:pdr_pipeline.stage
                            ! filespec for defining pdr pipeline stages
OPUS_HOME_DIR           = OPUS_HOME_DIR
                            ! Process Status File, and misc tempory file.
OPUS_OBSERVATIONS_DIR   = _empty_OBS_ROOT/_empty_PATHMAP[]/
                            ! Obs. Status File
OPUS_TEMP_DIR           = _empty_PATH_BASEDIR/edps/_empty_PATHMAP[]/temp/
                            ! Scratch area for intermediate

OK_TO_UPDATE_DATABASE   = TRUE
                            !                            
POLLING_TIME            = _empty_POLLING_TIME
                            ! Polling time. 
PROC_TYP                = NORMAL
                            ! Processing type (NORMAL, REALTIME, REPRO etc)

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 i.e. assistops
ASSIST_DB               = _empty_ASSIST_DB    ! Data base i.e. assistops
PROP_SERVER             = _empty_PROP_SERVER  ! Data base i.e. proper_rep
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
KW_SERVER               = _empty_KW_SERVER    ! Dbserver name for keyword db
KW_DB                   = _empty_KW_DB        ! Data base name for keyword db

! PDR input directory
PDR_PASS_DIR     = _empty_PATH_BASEDIR/edps/_empty_PATHMAP[]/pass/ 

! MSC file directory
PDR_MSC_DIR      = _empty_PATH_BASEDIR/edps/_empty_PATHMAP[]/msc/ 

! MTL file(s) directory
PDR_MTL_DIR      = _empty_PATH_BASEDIR/edps/_empty_PATHMAP[]/mtl/ 

! SMS file directory
PDR_SMS_DIR      = _empty_PATH_BASEDIR/edps/_empty_PATHMAP[]/sms/ 

! ORB files directory
PDR_ORB_DIR      = _empty_PATH_BASEDIR/edps/_empty_PATHMAP[]/orb/ 

! Holding directory for PAS class data
PDR_HLD_DIR      = _empty_PATH_BASEDIR/edps/pass/

! Archive logging directory
PDR_LOG_DIR      = _empty_PATH_BASEDIR/edps/_empty_PATHMAP[]/log/ 

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

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

REMOTE_COPY          = YES
REMOTE_COPY_NODE     = _empty_REMOTE_COPY_NODE
REMOTE_COPY_TYPE     = unix
REMOTE_COPY_LOGIN    = _empty_REMOTE_COPY_LOGIN
REMOTE_COPY_FILESPEC = _empty_REMOTE_COPY_FILESPEC
REMOTE_COPY_PROMPT   = _empty_REMOTE_COPY_PROMPT
!
! REPLAN replication verification retry parameters
!-------------------------------------------------
! The delay between retries is is an arithmetic progression based on the
! initial value of PDR_REPLAN_SLEEP_SECS. At each retry, the delay is
! increased by another unit of PDR_REPLAN_SLEEP_SECS. The total delay
! after PDR_REPLAN_MAX_RETRIES retries is 
! PDR_REPLAN_SLEEP_SECS * PDR_REPLAN_MAX_RETRIES *(PDR_REPLAN_MAX_RETRIES+1)/2
!
! For example, if PDR_REPLAN_MAX_RETRIES = 20 and PDR_REPLAN_SLEEP_SECS = 120
! (2 minutes), the total wait is 420 minutes (7 hours). If 
!  PDR_REPLAN_MAX_RETRIES = 40, the total wait is 1640 minutes (27 hours 20 min)
!
!   -- DO NOT PUT REPLAN PARAMETERS IN null.path
!-------------------------------------------------------------------------------
PDR_REPLAN_MAX_RETRIES  = 20  ! number of retries for replication verification
PDR_REPLAN_SLEEP_SECS   = 120 ! seconds for the initial retry of verification
