From cbf8bcfbf22525aec79ff5a6a10894925819bfa7 Mon Sep 17 00:00:00 2001 From: Matthew Slowe Date: Fri, 18 Feb 2022 09:09:57 +0000 Subject: [PATCH] chartham and westgate gardens --- new.gnuplot | 22 +++++++++++++++++++++- new.pl | 2 +- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/new.gnuplot b/new.gnuplot index fcb1bb5..9b5b5b0 100644 --- a/new.gnuplot +++ b/new.gnuplot @@ -100,7 +100,8 @@ set output "out/canterbury.png" set title "River Levels around Canterbury" plot \ "< ./getall.sh 1145" using 1:2 with linespoints title "Great Stour at Wye", \ - "< ./getall.sh 1143" using 1:2 with linespoints title "Great Stour at Horton weir", \ + "< ./getall.sh 1135" using 1:2 with linespoints title "Great Stour at Horton weir", \ + "< ./getall.sh 9274" using 1:2 with linespoints title "Great Stour at Westgate Gardens", \ "< ./getall.sh 1143" using 1:2 with linespoints title "Great Stour at Vauxhall Bridge" # "data.tsv" using 1:($5-$3) with linespoints title "Difference" axes x1y2 @@ -114,4 +115,23 @@ set title "River Levels around Canterbury in last 3 months" plot \ "< ./getlast3mo.sh 1145" using 1:2 with linespoints title "Great Stour at Wye", \ "< ./getlast3mo.sh 1135" using 1:2 with linespoints title "Great Stour at Horton weir", \ + "< ./getlast3mo.sh 9274" using 1:2 with linespoints title "Great Stour at Westgate Gardens", \ "< ./getlast3mo.sh 1143" using 1:2 with linespoints title "Great Stour at Vauxhall Bridge" + +### Chartham +set term png medium size 3600,800 enhanced font "Helvitica" 14 +set timefmt "%Y-%m-%dT%H:%M" +set output "out/chartham.png" + +set title "River Levels at Chartham" +plot \ + "< ./getall.sh 1135" using 1:2 with linespoints title "Great Stour at Horton weir", \ + # "data.tsv" using 1:($5-$3) with linespoints title "Difference" axes x1y2 +### Horton weir recent +set timefmt "%Y-%m-%dT%H:%M" +set term png medium size 3600,800 enhanced font "Helvitica" 14 +set output "out/chartham-recent.png" + +set title "River Levels at Chartham in last 3 months" +plot \ + "< ./getlast3mo.sh 1135" using 1:2 with linespoints title "Great Stour at Horton weir", \ diff --git a/new.pl b/new.pl index 0ffadec..e894b3b 100755 --- a/new.pl +++ b/new.pl @@ -11,7 +11,7 @@ my $ua = LWP::UserAgent->new; $ua->agent("Munin[river_levels_]"); my @stations = qw( -1129 1135 1133 1143 1132 1137 1134 1145 1139 1131 1130 1144 +1129 1135 1133 1143 1132 1137 1134 1145 1139 1131 1130 1144 9274 1086 1085 1073 1091 1071 1076 1069 1066 1067 1072 1074 1083 1064 1090 1089 1088 1087 1078 1080 1063 1030 1120 1121 1122 1125 1126 1127 6074 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6246 6247 6249 6250 6251 6253 6254 6255 6257 6259 6260 6262 6265 6267 6270 6271 6272 6273 6275 6278 6279 6280 6281