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
Alice Donini
lst-analysis
Commits
f68de067
Commit
f68de067
authored
Feb 25, 2022
by
Alice Donini
Browse files
add script to create DL3 index
parent
374dd88a
Changes
1
Hide whitespace changes
Inline
Side-by-side
bash_scripts/create_dl3_index.sh
0 → 100644
View file @
f68de067
#!/bin/bash
#Script to create the DL3 index.
#Change paths according to your system
#Some variables for retrieving the input files
DATES
=(
20201120
)
CLEANING
=
"tailcut84"
#tailcut
SOURCE
=
"Crab"
#name of source
VERSION
=
"v0.9.2"
#lstchain version
CUT
=
'standard'
INPUT_DIR
=
"/fefs/aswg/workspace/alice.donini/Analysis/data/"
#Base directory where to find the dl3 data
#Script (in ./cta-lstchain/tools/)
SCRIPT
=
"/fefs/aswg/workspace/alice.donini/Software/cta-lstchain/lstchain/tools/lstchain_create_dl3_index_files.py"
for
date
in
"
${
DATES
[@]
}
"
do
DIR
=
$INPUT_DIR
/DL3/
${
SOURCE
}
/
$date
/
$VERSION
/
${
CLEANING
}
/
#srun -o out.txt python $SCRIPT -d $DIR --overwrite &
srun python
$SCRIPT
-d
$DIR
--overwrite
&
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