Skip to content

Commit

Permalink
feat: make plot.sh a bit more verbose
Browse files Browse the repository at this point in the history
Signed-off-by: Davide Madrisan <[email protected]>
  • Loading branch information
madrisan committed Feb 13, 2024
1 parent fc74688 commit 77e9a4b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions plots.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
#!/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 \
Expand All @@ -16,12 +18,16 @@ for period in "1961-1990" "1850-1900" "1880-1920"; do
--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."

0 comments on commit 77e9a4b

Please sign in to comment.