source: trunk/DataCheck/Setup/setup.fact.lp.data@ 18790

Last change on this file since 18790 was 18790, checked in by Daniela Dorner, 8 years ago
added path for flare alert files
  • Property svn:executable set to *
File size: 2.9 KB
Line 
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# it is also used for the other machines which share the home of data
8#
9
10# setup to use ftools
11export HEADAS=/opt/heasoft-6.11/x86_64-unknown-linux-gnu-libc2.13-0/
12export HEADASPROMPT=/dev/null
13
14# setup to use ROOT
15root=/opt/root_v5.34.36/bin/thisroot.sh
16source $root
17
18# software versions
19export factpath=/home/fact/operation # path where programs of FACT++ are linked
20export mars=/home/fact/SW.automatic.processing/Mars.svn.2014.05.26
21
22# site
23processingsite=lp
24sitekey=3
25storagesite=wue
26
27# logging and setup
28logpath=/home/fact/logs.automatic.processing/autologs
29lockpath=/home/fact/logs.automatic.processing/locks
30#setuppath=/magic/simulated/setup
31rsynctempdir=/loc_data/rsync_tmp
32if ! [ -d $rsynctempdir ]
33then
34 mkdir $rsynctempdir
35fi
36
37# data paths
38anapath=/loc_data/analysis # on daq
39#anapath=/newdaq/analysis_bu # temporarily to newdaq
40drstimepath=$anapath/drs_time_calib
41auxdata=/loc_data/aux
42auxdata_for_sed=$(printf "%s\n" "$auxdata" | sed 's/[][\.*^$(){}?+|/]/\\&/g')
43rawdata=/loc_data/raw
44rawdata_for_sed=$(printf "%s\n" "$rawdata" | sed 's/[][\.*^$(){}?+|/]/\\&/g')
45ziprawdata=/loc_data/zipraw
46ziprawdata_for_sed=$(printf "%s\n" "$ziprawdata" | sed 's/[][\.*^$(){}?+|/]/\\&/g')
47flarealertspath="/home/fact/flare.alerts"
48
49# get paths for mars, macros and scripts
50# in case the variable is not yet set
51macrospath=$mars/datacenter/macros
52scriptspath=$mars/datacenter/scripts
53# rcfiles
54# dependencies of steps
55steps=$mars/resources/steps_fact.rc
56# files with db information
57sqlrc=$mars/sql.rc
58sqlpw=/home/fact/.mysql.pw
59
60
61#addresses to which information about full disks is sent
62deladrs="shift@fact-project.org"
63#addresses to which the errors are sent
64erradrs="dorner@astro.uni-wuerzburg.de"
65#addresses to which the changes are sent
66adrs="dorner@astro.uni-wuerzburg.de"
67
68
69#
70# setup QLA
71#
72
73# setup for Step1.sh
74# disklimitdaq: transfer and qla don't start when less than this is available on /daq
75# with more than 90% disk usage the data taking is affected
76disklimitdaq=800000000
77# bandwidth limit for transfer from newdaq to daq
78bwlimit=90000
79# number of RunCallisto.sh started on daq
80#numruncallistos=20
81numruncallistos=8
82
83# setup RunCallisto.sh
84# number of callisto.C (else RunCallisto.sh is doing sleep) running on daq
85#numcallistos=8
86numcallistos=5
87# seconds waiting before checking again number of callistos
88callistowait=60
89
90# setup for ZipRawData.sh
91numprocpigz=3 # number of processes used for pigz
92limitpigz="90M" # transfer from daq to data
93
94# setup for FillNumEvts.sh and Step3.sh
95resulttable1="AnalysisResultsRunLP"
96resulttable2="AnalysisResultsNightLP"
97firstnight=20121213
98
99# setup for warning/errors
100# print warnings/errors (eg for missing files) only after a delay of few days to account for transfer
101transferdelay=3 #days
102checknight=`date +%Y%m%d --date="-${transferdelay}day"`
103
Note: See TracBrowser for help on using the repository browser.