Commit dd88fa8f authored by Gernot Maier's avatar Gernot Maier
Browse files

add target directory EVNDISP

parent d6aef9d8
......@@ -13,23 +13,24 @@ fi
# hardwired values
DSET="Prod5_LaPalma_AdvancedBaseline_NSB1x_DL1"
PLIST="gamma_onSource gamma_cone proton electron"
PLIST="gamma_onSource gamma_cone proton"
PLIST="gamma_onSource gamma_cone proton electron"
# targetdir
OSET="prod5-LaPalma-20deg-w01-LL"
OSET="prod5-LaPalma-20deg-EVNDISP"
########################
# list of arrays
# South
# declare -a ARRAY=("BL-0LSTs15MSTs50SSTs-MSTF" "BL-0LSTs15MSTs50SSTs-MSTN" "BL-4LSTs25MSTs70SSTs-MSTF" "BL-4LSTs25MSTs70SSTs-MSTN" )
# North
declare -a ARRAY=("BL-4LSTs05MSTs-MSTF" "BL-4LSTs09MSTs-MSTF" "BL-4LSTs15MSTs-MSTF" )
declare -a ARRAY=("BL-4LSTs15MSTs-MSTN" )
for P in $PLIST
do
for A in "${ARRAY[@]}"
do
# files are copied here
ODIR=${CTA_USER_DATA_DIR}/analysis/AnalysisData/${OSET}/N.${A}/$P
ODIR=${CTA_USER_DATA_DIR}/analysis/AnalysisData/${OSET}/N.${A}/EVNDISP/$P
echo $ODIR
mkdir -p ${ODIR}
find ${DSET}/$P -name "*.tar.gz" -print -exec tar --overwrite -C ${ODIR} -xvzf {} --wildcards "*${A}*" \;
......
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