| 1 | #!/bin/bash
|
|---|
| 2 | #
|
|---|
| 3 | # This a resource file for the scripts, in which paths, variables
|
|---|
| 4 | # and setups are defined
|
|---|
| 5 | #
|
|---|
| 6 | # This setup file is for the machine data in La Palma
|
|---|
| 7 | #
|
|---|
| 8 |
|
|---|
| 9 | # setup to use ftools
|
|---|
| 10 | export HEADAS=/opt/heasoft-6.11/x86_64-unknown-linux-gnu-libc2.13-0/
|
|---|
| 11 | export HEADASPROMPT=/dev/null
|
|---|
| 12 |
|
|---|
| 13 | # setup to use ROOT
|
|---|
| 14 | rootsys=/opt/root_v5.12.00f
|
|---|
| 15 | if ! export | grep $rootsys >|/dev/null
|
|---|
| 16 | then
|
|---|
| 17 | export ROOTSYS=$rootsys
|
|---|
| 18 | export PATH=$PATH:$ROOTSYS/bin
|
|---|
| 19 | export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ROOTSYS/lib
|
|---|
| 20 | fi
|
|---|
| 21 |
|
|---|
| 22 | # software versions
|
|---|
| 23 | export factpath=/home/fact/SW.automatic.processing/FACT++.2012.01.25
|
|---|
| 24 | #export mars=/home/fact/SW.automatic.processing/Mars.CheObs.svn.2012.01.25
|
|---|
| 25 | export mars=/home/fact/fast_setup_for_automatic_analysis/Mars.von.Thomas.2012.06.22
|
|---|
| 26 |
|
|---|
| 27 | # site
|
|---|
| 28 | processingsite=lp
|
|---|
| 29 | sitekey=3
|
|---|
| 30 | storagesite=wue
|
|---|
| 31 |
|
|---|
| 32 | # logging and setup
|
|---|
| 33 | logpath=/home/fact/logs.automatic.processing/autologs
|
|---|
| 34 | lockpath=/home/fact/logs.automatic.processing/locks
|
|---|
| 35 | #setuppath=/magic/simulated/setup
|
|---|
| 36 | rsynctempdir=/loc_data/rsync_tmp
|
|---|
| 37 | if ! [ -d $rsynctempdir ]
|
|---|
| 38 | then
|
|---|
| 39 | mkdir $rsynctempdir
|
|---|
| 40 | fi
|
|---|
| 41 |
|
|---|
| 42 | # data paths
|
|---|
| 43 | auxdata=/loc_data/aux
|
|---|
| 44 | auxdata_for_sed=$(printf "%s\n" "$auxdata" | sed 's/[][\.*^$(){}?+|/]/\\&/g')
|
|---|
| 45 | rawdata=/data00/fact-construction/raw
|
|---|
| 46 | rawdata_for_sed=$(printf "%s\n" "$rawdata" | sed 's/[][\.*^$(){}?+|/]/\\&/g')
|
|---|
| 47 | ziprawdata=/loc_data/zipraw
|
|---|
| 48 | ziprawdata_for_sed=$(printf "%s\n" "$ziprawdata" | sed 's/[][\.*^$(){}?+|/]/\\&/g')
|
|---|
| 49 |
|
|---|
| 50 | # get paths for mars, macros and scripts
|
|---|
| 51 | # in case the variable is not yet set
|
|---|
| 52 | macrospath=$mars/datacenter/macros
|
|---|
| 53 | scriptspath=$mars/datacenter/scripts
|
|---|
| 54 | # rcfiles
|
|---|
| 55 | # dependencies of steps
|
|---|
| 56 | steps=$mars/resources/steps_fact.rc
|
|---|
| 57 | # file with db information
|
|---|
| 58 | sqlrc=$mars/sql.rc
|
|---|
| 59 |
|
|---|
| 60 |
|
|---|
| 61 | #addresses to which the errors are sent
|
|---|
| 62 | erradrs="dorner@astro.uni-wuerzburg.de"
|
|---|
| 63 | #addresses to which the changes are sent
|
|---|
| 64 | adrs="dorner@astro.uni-wuerzburg.de"
|
|---|
| 65 |
|
|---|
| 66 |
|
|---|