Skip to content

Commit 2b841c9

Browse files
author
RaulRPrado
committed
updating script to loop over care files
1 parent 5c3d530 commit 2b841c9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

loopOverCAREFiles

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
source /afs/ifh.de/group/cta/scratch/prado/MC-VERITAS/util.sh
3+
source /afs/ifh.de/group/cta/scratch/prado/MC-DESY/util.sh
44

55
atm="winter"
66
zenith="20"
@@ -17,7 +17,7 @@ for wobble in ${wobble_list}; do
1717
wobble=$(validate_wobble "${wobble}")
1818

1919
for nsb in ${nsb_list}; do
20-
care_file=$(merged_care_file "${zenith}" "${atm}" "${wobble}" "${nsb}" "${mode}")
20+
care_file=$(compressed_care_file "${zenith}" "${atm}" "${wobble}" "${nsb}" "${mode}")
2121
if [ -f "${care_file}" ]; then
2222
printf "File:%s\n" "${care_file}"
2323
# do something here

subCompress

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@ for nsb in ${nsb_list}; do
3232
mkdir -p "$(dirname "${log_out}")"
3333

3434
# shellcheck disable=SC2086
35-
qsub -P veritas -l s_cpu=48:00:00 -l h_rss=4G ${send_mail} -N "comp_${wobble}" -e "${log_err}" -o "${log_out}" "${source_dir}/compressCARE" -zenith "${zenith}" -atm "${atm}" -wobble "${wobble}" -mode "${mode}" -nsb "${nsb}" -src "${source_dir}"
35+
qsub -P veritas -l s_cpu=24:00:00 -l h_rss=4G ${send_mail} -N "comp_${wobble}" -e "${log_err}" -o "${log_out}" "${source_dir}/compressCARE" -zenith "${zenith}" -atm "${atm}" -wobble "${wobble}" -mode "${mode}" -nsb "${nsb}" -src "${source_dir}"
3636
done

0 commit comments

Comments
 (0)