-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathreduce.sh
More file actions
executable file
·28 lines (22 loc) · 880 Bytes
/
reduce.sh
File metadata and controls
executable file
·28 lines (22 loc) · 880 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/bin/bash
# Matilde's project : O2k data reduction
PAPI=/home/panic/DEVELOP/PIPELINE/PANIC/trunk/papi.py
DIRS_JAN="120103 120104 120105 120106 120107 120108 120109 120110 120111 120112 120113 120114 120115 120118 120119 120127 120128 120129 120130 120131"
DIRS_FEB="120218 120215 120213 120212 120211 120210 120209 120208 120201"
for dir in $DIRS_JAN
do
if [ ! -d /data2/out/${dir} ]
then
mkdir -p /data2/out/${dir}
fi
${PAPI} -c /home/panic/DEVELOP/PIPELINE/PANIC/trunk/config_files/papi_suse11.cfg -s /data/O2K/Jan.2012/${dir} -g filter -d /data2/out/${dir} -R lemon
done
for dir in $DIRS_FEB
do
if [ ! -d /data2/out/${dir} ]
then
mkdir -p /data2/out/${dir}
fi
${PAPI} -c /home/panic/DEVELOP/PIPELINE/PANIC/trunk/config_files/papi_suse11.cfg -s /data/O2K/Feb.2012/${dir} -g filter -d /data2/out/${dir} -R lemon
done
exit