Commit 59a5159a authored by Gernot Maier's avatar Gernot Maier
Browse files

ze directory

parent 7b584368
...@@ -11,9 +11,9 @@ DD="Prod4b_Paranal" ...@@ -11,9 +11,9 @@ DD="Prod4b_Paranal"
# Prod4b SST production # Prod4b SST production
DD="Prod3b_Paranal" DD="Prod3b_Paranal"
## Prod5b DL1 production ## Prod5b DL1 production
DD="Prod5b_LaPalma_AdvancedBaseline_NSB1x" DD="Prod5b_LaPalma_AdvancedBaseline_NSB5x"
ZE="20deg" ZE="60deg"
DL="DL0" DL="DL0"
DL="DL1" DL="DL1"
SCT="FALSE" SCT="FALSE"
...@@ -23,11 +23,11 @@ if [[ $DD == *"Prod3b_Paranal"* ]]; then ...@@ -23,11 +23,11 @@ if [[ $DD == *"Prod3b_Paranal"* ]]; then
SCT="TRUE" SCT="TRUE"
fi fi
TMDPIR="tmp_log" TMPDIR="tmp_log4"
mkdir -p ${TMPDIR} mkdir -p ${TMPDIR}
#for P in gamma_cone proton gamma_onSource electron for P in gamma_cone proton gamma_onSource electron
for P in proton #for P in proton
do do
if [[ ${P} == "gamma_cone" ]]; then if [[ ${P} == "gamma_cone" ]]; then
PP="gamma-diffuse" PP="gamma-diffuse"
...@@ -61,8 +61,8 @@ do ...@@ -61,8 +61,8 @@ do
./getRawFilesFromGRID-DIRAC.sh ${FLIST} ${DD}/${P}/ 100 &> ${TMPDIR}/${P}_${A}_${S}.log & ./getRawFilesFromGRID-DIRAC.sh ${FLIST} ${DD}/${P}/ 100 &> ${TMPDIR}/${P}_${A}_${S}.log &
# all other productions # all other productions
else else
FLIST="${DD}/${DD}_${PP}_${A}_${ZE}_${DL}.GRID.list" # FLIST="${DD}/${DD}_${PP}_${A}_${ZE}_${DL}.GRID.list"
FLIST="${DD}_${DL}/${DD}_${PP}_${A}_${ZE}_${DL}.GRID.list" FLIST="${DD}_${ZE}/${DD}_${PP}_${A}_${ZE}_${DL}.GRID.list"
# prod3b needs some special treatment # prod3b needs some special treatment
if [[ ! -e ${FLIST} ]]; then if [[ ! -e ${FLIST} ]]; then
echo "File list not found; trying prod3b naming ($FLIST); trying prod3b lists:" echo "File list not found; trying prod3b naming ($FLIST); trying prod3b lists:"
...@@ -74,7 +74,7 @@ do ...@@ -74,7 +74,7 @@ do
echo "...found ${FLIST}" echo "...found ${FLIST}"
fi fi
echo "Reading file list $FLIST" 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 fi
sleep 10 sleep 10
done done
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment