chartham and westgate gardens

This commit is contained in:
Matthew Slowe 2022-02-18 09:09:57 +00:00
parent 55857ed6a0
commit cbf8bcfbf2
2 changed files with 22 additions and 2 deletions

View File

@ -100,7 +100,8 @@ set output "out/canterbury.png"
set title "River Levels around Canterbury" set title "River Levels around Canterbury"
plot \ plot \
"< ./getall.sh 1145" using 1:2 with linespoints title "Great Stour at Wye", \ "< ./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" "< ./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 # "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 \ plot \
"< ./getlast3mo.sh 1145" using 1:2 with linespoints title "Great Stour at Wye", \ "< ./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 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" "< ./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", \

2
new.pl
View File

@ -11,7 +11,7 @@ my $ua = LWP::UserAgent->new;
$ua->agent("Munin[river_levels_]"); $ua->agent("Munin[river_levels_]");
my @stations = qw( 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 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 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 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