-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathloop.sh
More file actions
executable file
·19 lines (17 loc) · 787 Bytes
/
loop.sh
File metadata and controls
executable file
·19 lines (17 loc) · 787 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash
# This script runs the Python script ap.py with different parameters and cities.
#declare -a params=( "N" "Sd" "dd" "ff" "fx" "Wv" "Wn" "PPP" "TTm" "TTn" "TTd" "RR" )
declare -a params=( "Sd1" "Sd24" "dd12" "dd24" "ff12" "fx24" "PPP12" "Tmin" "T12" "Tmax" "Td12" "RR1" "RR24")
# Uncomment the line below to run with all parameters
declare -a cities=( "BER" "VIE" "LEI" "IBK" "ZUR" )
# Uncomment the line below to run with all parameters
#for p in ${params[@]}; do
# For each parameter, run the script with all cities
for c in ${cities[@]}; do
#echo $c
#python3 turniergrafik.py -p $p -c BER,VIE,IBK,LEI
#python3 turniergrafik.py -p $p -c VIE
#python3 turniergrafik.py -p $p
# Run the script with the current city
python3 turniergrafik.py -c $c
done