-
Notifications
You must be signed in to change notification settings - Fork 1
/
LoWo21.sh
executable file
·67 lines (56 loc) · 1.52 KB
/
LoWo21.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
#!/bin/bash
echo
echo "///////////////////////////////////////////////////////////////////"
echo RESULTS FOR
echo "'The Physics of Falling Raindrops in Diverse Planetary Atmospheres'"
echo "Loftus and Wordsworth (202-), JGR: Planets"
echo "DOI: --"
echo "///////////////////////////////////////////////////////////////////"
IS_CALCULATE=false
# IS_CALCULATE=true # uncomment to re-generate results
if [[ "$IS_CALCULATE" == "true" ]]; then
echo
echo CALCULATIONS FOR FIGURES
for i in {1..8}; do
echo calculating figure ${i}
python gen_fig0${i}.py
echo completed figure ${i}
done
echo
echo CALCULATIONS FOR TABLES
for i in {1..3}; do
echo calculating table ${i}
python gen_tab0${i}.py
echo completed table ${i}
done
echo
echo CALCULATIONS FOR SI
echo calculating figures S1-S2
python gen_v_term.py
echo completed figures S1-S2
fi
echo
echo MAKE FIGURES
for i in {1..8}; do
echo making figure ${i}
python make_fig0${i}.py
echo completed figure ${i}
done
echo
echo MAKE SFIGURES
echo making figures S1-S2
python make_v_term.py
echo completed figures S1-S2
echo making figure S3
python val_Earth_shape.py
echo completed figure S3
echo making figure S4
python val_Earth_v.py
echo completed figure S4
echo making figures S5-S6
python val_L93.py
echo completed figures S5-S6
echo making figures S7-S8, table S1
python val_G08.py
echo completed figures S7-S8, table S1
echo "///////////////////////////////////////////////////////////////////"