-
Notifications
You must be signed in to change notification settings - Fork 6
/
main.sh
42 lines (32 loc) · 1.26 KB
/
main.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
#!/bin/bash
echo "---------------------------------------------------------------------------------------------------------------"
echo "| GetMoc V1.0 |"
echo "| Get the meridional overturning circulation (MOC) from MASK and calculate the annual mean series of the MOC. |"
echo "| See https://github.com/HirojiSawatari/GetMoc for more details. |"
echo "| Copyright (C) 2016 Tou Ka All Rights Reserved |"
echo "---------------------------------------------------------------------------------------------------------------"
path="/gpfsES/geo/the/MocArchieve"
# Create loop path
if [ -d "$path" ]; then
rm -r "$path"
mkdir "$path"
else
mkdir "$path"
fi
echo "Create loop path complete!"
# Start create AMOC of ALL
bash all-moc.sh
# Start create AMOC of TSI
bash tsi-moc.sh
# Start create AMOC of VOL
bash vol-moc.sh
# Start create AMOC of ANTH
bash anth-moc.sh
# Start create AMOC of Ctrl
bash ctrl-moc.sh
# Start create AMO of ALL
bash all-ssh.sh
# Draw volcanic series
echo "Start volseries.ncl"
ncl volseries.ncl
echo "Draw volcanic series complete!"