Last change
on this file since 18341 was 17984, checked in by ghughes, 10 years ago |
mixed some major bigs, removed hardcoded directory stuff, some minor testing still needed but batch full
|
File size:
556 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 |
|
---|
3 | source ~/.bash_profile
|
---|
4 |
|
---|
5 | cd $MARSSYS
|
---|
6 |
|
---|
7 | YEAR=YYYYY
|
---|
8 | MONTH=MMMMM
|
---|
9 | DAY=DDDDD
|
---|
10 |
|
---|
11 | DATE=$YEAR$MONTH$DAY
|
---|
12 |
|
---|
13 | SEQDIR="/scratch/fact/sequences/"$YEAR"/"$MONTH"/"$DAY"/"
|
---|
14 | INDIR="/scratch/fact/data.2013.05.11/callisto/"$YEAR"/"$MONTH"/"$DAY"/"
|
---|
15 | OUTDIR=$MARSSYS"/OUTPUT/star/"$DATE"/"
|
---|
16 |
|
---|
17 | TFILE=${MARSSYS}"/"$DATE".tempfile"
|
---|
18 |
|
---|
19 | ls $SEQDIR/${DATE}_???.seq > $TFILE
|
---|
20 |
|
---|
21 | while read LINE
|
---|
22 | do
|
---|
23 |
|
---|
24 | SEQFILE=$LINE
|
---|
25 | root -b -q fact/analysis/star.C\(\"$SEQFILE\",4,2.5,\"$INDIR\",\"$OUTDIR\"\)
|
---|
26 | root -b -q fact/analysis/merpp.C\(\"$SEQFILE\",\"$OUTDIR\"\)
|
---|
27 |
|
---|
28 | done <$TFILE
|
---|
29 |
|
---|
30 | rm $TFILE
|
---|
31 |
|
---|
32 |
|
---|
33 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.