-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathplots.sh
executable file
·33 lines (28 loc) · 872 Bytes
/
plots.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
#!/usr/bin/env bash
echo "removing .nc files ..."
rm -f HadCRUT.*.nc
for period in "1961-1990" "1850-1900" "1880-1920"; do
echo "creating plot for period $period ..."
./hadcrut5_plot.py \
--period="${period}" \
--annotate=2 \
--outfile plots/HadCRUT5-${period}.png
./hadcrut5_plot.py \
--period="${period}" \
--smoother 5 \
--outfile plots/HadCRUT5-${period}-smoother.png
./hadcrut5_bars.py \
--period="${period}" \
--outfile plots/HadCRUT5-global-${period}.png
done
echo "creating monthly plot ..."
./hadcrut5_plot.py \
--period "1880-1920" \
--time-series monthly \
--global \
--outfile plots/HadCRUT5-monthly-global-1880-1920.png
echo "creating stripe image ..."
./hadcrut5_stripe.py \
--region global \
--outfile plots/HadCRUT5-global-stripe.png
echo "done."