Skip to content
Snippets Groups Projects
Unverified Commit eceba44f authored by David Hoese's avatar David Hoese
Browse files

Move environment variable to shared metobs_config.sh script

parent 22e717e5
No related branches found
No related tags found
No related merge requests found
......@@ -8,11 +8,6 @@ SCRIPT_NAME=${SCRIPT_NAME/.sh/}
# Get environment variables and common functions
source $SCRIPT_HOME/metobs_config.sh
# Assume we are in /data1/software/<site>-<inst>/repos/git/<Site><Inst>/scripts
# and need to get to /data1/software/<site-<inst>
ENV=`readlink -f ../../../../`
LOGDIR=$ENV/logs
DATE=$1
if [ -z "$DATE" ]; then
DATE=`date +%Y%m%d`
......
......@@ -7,6 +7,10 @@ export TOWER_INCOMING_DIR=/mnt/inst-data/incoming/aoss/tower
export TOWER_PRAW_DIR=/mnt/inst-data/raw/aoss/tower
# Where generated products go
export TOWER_CACHE_DIR=/mnt/inst-data/cache/aoss/tower
# Python environment to use and where scripts are location
export ENV=/data1/software/aoss-tower3
# Directory where logs will be stored
export LOGDIR=$ENV/logs
log_info() {
echo "INFO: $*" &>> $logfile
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment