Compare commits

..

5 Commits

Author SHA1 Message Date
7977aa96fb add 2024 2024-01-07 17:02:42 +00:00
67d116f570 indentation 2024-01-07 17:02:29 +00:00
8078766a1a disable diagnostics 2024-01-07 17:02:16 +00:00
db674670d1 Updates to copy and link to EA site 2023-10-25 12:53:32 +01:00
50710ba6cb email 2023-10-25 12:51:23 +01:00
3 changed files with 14 additions and 10 deletions

View File

@@ -18,11 +18,13 @@
The charts below show the annual levels of the Great Stour at various locations between Ashford and Canterbury in Kent.
</p>
<p>
Data collection began in 2014 for Wye, Chartham, and Vauxhall bridge. Westgate Gardens is a newer monitoring station and data is available back from 2020. There are a few periods of time where data is unavailable normally due to changes in the upstream data availability.
Data collection began in 2014 for <a href="https://check-for-flooding.service.gov.uk/station/1145">Wye</a>, <a href="https://check-for-flooding.service.gov.uk/station/1135">Chartham</a>, and <a href="https://check-for-flooding.service.gov.uk/station/1143">Vauxhall bridge</a>. <a href="https://check-for-flooding.service.gov.uk/station/9274">Westgate Gardens</a> is a newer monitoring station and data is available back from 2020. There are a few periods of time where data is unavailable normally due to changes in the upstream data availability.
</p>
<p style="font-style: italic">
Data has been gathered from the Environment Agency in England and is available under the the <a href="https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/">Open Government Licence v3.0</a>, except where otherwise stated.
Data has been gathered from the <a href="https://check-for-flooding.service.gov.uk">Environment Agency in England</a> and is available under the the <a href="https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/">Open Government Licence v3.0</a>, except where otherwise stated.
</p>
<p>
If you'd like a copy of the underlying data then please <a href="mailto:foo+rivers@mafoo.org.uk">drop me an email</a>.
</p>
<a id="wye"><h2>Wye</h2></a>

View File

@@ -1,4 +1,7 @@
set -ex
#!/bin/bash
set -e
for n in 1143 1145 1135 9274
do
perl stack-years.pl $n >$n-pivot.txt

View File

@@ -1,7 +1,7 @@
#!/usr/bin/perl -w
use strict;
use diagnostics;
# use diagnostics;
use DBI;
use POSIX;
use Data::Dumper;
@@ -15,7 +15,6 @@ my $getdata_st = $db->prepare("select strftime('2000-%m-%dT%H:%M:%S.000Z', times
$years_st->execute($station);
my @years = @{$years_st->fetchall_arrayref};
print STDERR Dumper(@years);
my %data;
foreach my $y_ref (@years) {