## Filename: gbo_step_atha_mirror.config
##
## This is the config file for environment variables associated with
## scripts and activities that process the STEP Polar GMAG files
## that have arrived at UCalgary.
#

if [[ -z $THEMISDATA ]]
then
  THEMISDATA=/disks/themisdata ; export THEMISDATA
fi

STEP_MIRROR_HOME=${THEMISDATA}/thg/mirrors/mag/step_ascii ; export STEP_MIRROR_HOME

## rsync Settings. Hourly files from each GBO will be kept under and 
## subdirectory tree designated by yyyy/mm/dd
#
REMOTE_SERVER_NAME="themis@131.232.13.43:/autumndp/L0/" ; export REMOTE_SERVER_NAME
RSYNC_OPTIONS="-az --port=8873 --log-format=\"%i|%n|%t|%l\" --stats" ; export RSYNC_OPTIONS

## Logging
#
LOGDIR=${THEMISDATA}/process_logs/gbo		; export LOGDIR
LOGFILE=${LOGDIR}/GBO_STEP_ATHA_MIRROR_Log$(date '+%y%m%d')	; export LOGFILE
RSLOGFILE=${LOGDIR}/RSYNC_GBO_STEP_ATHA_MIRROR_Log$(date '+%y%m%d')	; export LOGFILE