summaryrefslogtreecommitdiff
path: root/share/json2json
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2022-12-03 20:53:34 +0100
committerDaniel Friesel <derf@finalrewind.org>2022-12-03 20:53:34 +0100
commit5eb48edb3b301a812f36f3d53ddebddfc64b9bf9 (patch)
treed0c4aea101627006b3e6ed15beb559d1655eba1e /share/json2json
parent4197aa3352ba8f8ae4e739955d711ae176feac86 (diff)
json2json: station names are no longer considered unique
Diffstat (limited to 'share/json2json')
-rwxr-xr-xshare/json2json6
1 files changed, 0 insertions, 6 deletions
diff --git a/share/json2json b/share/json2json
index 4a78e80..47cb83d 100755
--- a/share/json2json
+++ b/share/json2json
@@ -17,12 +17,6 @@ my @ds100
= map { $_->{ds100} } sort { $a->{ds100} cmp $b->{ds100} } @{$stations};
my @eva_ids = map { $_->{eva} } sort { $a->{eva} <=> $b->{eva} } @{$stations};
-for my $i ( 1 .. $#names ) {
- if ( $names[ $i - 1 ] eq $names[$i] ) {
- say "Duplicate station name: $names[$i]";
- $have_duplicates = 1;
- }
-}
for my $i ( 1 .. $#ds100 ) {
if ( $ds100[ $i - 1 ] eq $ds100[$i] ) {
say "Duplicate DS100 code: $ds100[$i]";