Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cta
MonteCarlo
ProdX-Download
Commits
59a5159a
Commit
59a5159a
authored
May 19, 2021
by
Gernot Maier
Browse files
ze directory
parent
7b584368
Changes
1
Hide whitespace changes
Inline
Side-by-side
download_parallel.sh
View file @
59a5159a
...
...
@@ -11,9 +11,9 @@ DD="Prod4b_Paranal"
# Prod4b SST production
DD
=
"Prod3b_Paranal"
## Prod5b DL1 production
DD
=
"Prod5b_LaPalma_AdvancedBaseline_NSB
1
x"
DD
=
"Prod5b_LaPalma_AdvancedBaseline_NSB
5
x"
ZE
=
"
2
0deg"
ZE
=
"
6
0deg"
DL
=
"DL0"
DL
=
"DL1"
SCT
=
"FALSE"
...
...
@@ -23,11 +23,11 @@ if [[ $DD == *"Prod3b_Paranal"* ]]; then
SCT
=
"TRUE"
fi
TM
D
PIR
=
"tmp_log"
TMP
D
IR
=
"tmp_log
4
"
mkdir
-p
${
TMPDIR
}
#
for P in gamma_cone proton gamma_onSource electron
for
P
in
proton
for
P
in
gamma_cone proton gamma_onSource electron
#
for P in proton
do
if
[[
${
P
}
==
"gamma_cone"
]]
;
then
PP
=
"gamma-diffuse"
...
...
@@ -61,8 +61,8 @@ do
./getRawFilesFromGRID-DIRAC.sh
${
FLIST
}
${
DD
}
/
${
P
}
/ 100 &>
${
TMPDIR
}
/
${
P
}
_
${
A
}
_
${
S
}
.log &
# all other productions
else
FLIST
=
"
${
DD
}
/
${
DD
}
_
${
PP
}
_
${
A
}
_
${
ZE
}
_
${
DL
}
.GRID.list"
FLIST
=
"
${
DD
}
_
${
DL
}
/
${
DD
}
_
${
PP
}
_
${
A
}
_
${
ZE
}
_
${
DL
}
.GRID.list"
#
FLIST="${DD}/${DD}_${PP}_${A}_${ZE}_${DL}.GRID.list"
FLIST
=
"
${
DD
}
_
${
ZE
}
/
${
DD
}
_
${
PP
}
_
${
A
}
_
${
ZE
}
_
${
DL
}
.GRID.list"
# prod3b needs some special treatment
if
[[
!
-e
${
FLIST
}
]]
;
then
echo
"File list not found; trying prod3b naming (
$FLIST
); trying prod3b lists:"
...
...
@@ -74,7 +74,7 @@ do
echo
"...found
${
FLIST
}
"
fi
echo
"Reading file list
$FLIST
"
./getRawFilesFromGRID-DIRAC.sh
$FLIST
${
DD
}
/
${
P
}
/ 100
${
SCT
}
&>
${
TMPDIR
}
/
${
P
}
_
${
A
}
.log &
./getRawFilesFromGRID-DIRAC.sh
$FLIST
${
DD
}
_
${
ZE
}
/
${
P
}
/ 100
${
SCT
}
&>
${
TMPDIR
}
/
${
P
}
_
${
A
}
.log &
fi
sleep
10
done
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment