From a33f02491dd5cfcdcc31b062409d94c28429c77f Mon Sep 17 00:00:00 2001 From: Ian Renton Date: Mon, 31 Aug 2026 20:54:21 +0100 Subject: [PATCH] Avoid polling GIRO stations that don't return any data --- datafiles/didbase-stations.csv | 11 +---------- templates/add_spot.html | 2 +- templates/alerts.html | 2 +- templates/bands.html | 4 ++-- templates/base.html | 10 +++++----- templates/conditions.html | 2 +- templates/map.html | 4 ++-- templates/spots.html | 4 ++-- templates/status.html | 2 +- 9 files changed, 16 insertions(+), 25 deletions(-) diff --git a/datafiles/didbase-stations.csv b/datafiles/didbase-stations.csv index 29e575a..707869a 100644 --- a/datafiles/didbase-stations.csv +++ b/datafiles/didbase-stations.csv @@ -1,12 +1,9 @@ AA343,"Almaty, Kazakhstan" AL945,"Alpena, United States" AT138,"Athens, Greece" -AU930,"Austin, United States" -BR52P,"Brisbane, Australia" BVJ03,"Boa Vista, Brazil" CAJ2M,"Cachoeira Paulista, Brazil" CB53N,"Canberra, Australia" -CGK21,"Campo Grande, Brazil" DB049,"Dourbes, Belgium" DW41K,"Darwin, Australia" EA036,"El Arenosillo, Spain" @@ -18,24 +15,18 @@ GM037,"Gibilmanna, Italy" GR13L,"Grahamstown, South Africa" HE13N,"Hermanus, South Africa" HO54K,"Hobart, Australia" -IC437,"I-Cheon, South Korea" IF843,"Idaho National Laboratory, United States" JI91J,"Jicamarca, Peru" JR055,"Juliusruh, Germany" LAA38,"Lajes Terceira Island, Portugal" LL721,"Lualualei, United States" -LM42B,"Learmonth, Australia" -LV12P,"Louisvale, South Africa" MHJ45,"Millstone Hill, United States" -ML10L,"Malindi, Kenya" NI135,"Nicosia, Cyprus" NI63_,"Norfolk, Australia" -PA836,"Portt Arguello, United States" +PA836,"Port Arguello, United States" PE43K,"Perth, Australia" -PF765,"Poker Flat, United States" PQ052,"Pruhonice, Czechia" RO041,"Rome, Italy" -SAA0K,"Saoluis, Brazil" SO148,"Sopron, Hungary" TR169,"Tromso, Norway" TV51R,"Townsville, Australia" diff --git a/templates/add_spot.html b/templates/add_spot.html index 007d00c..6c8f963 100644 --- a/templates/add_spot.html +++ b/templates/add_spot.html @@ -76,7 +76,7 @@ - + diff --git a/templates/alerts.html b/templates/alerts.html index b894ba3..0d62a91 100644 --- a/templates/alerts.html +++ b/templates/alerts.html @@ -84,7 +84,7 @@ - + diff --git a/templates/bands.html b/templates/bands.html index 3900c58..53a1932 100644 --- a/templates/bands.html +++ b/templates/bands.html @@ -76,8 +76,8 @@ - - + + diff --git a/templates/base.html b/templates/base.html index 645f3fb..4689d7f 100644 --- a/templates/base.html +++ b/templates/base.html @@ -1,6 +1,6 @@ {% extends "skeleton.html" %} {% block head_extra %} - + @@ -15,10 +15,10 @@ window.fetchEventSource = fetchEventSource; - - - - + + + + {% end %} {% block body %}
diff --git a/templates/conditions.html b/templates/conditions.html index 587d4b5..3ec0dc1 100644 --- a/templates/conditions.html +++ b/templates/conditions.html @@ -284,7 +284,7 @@
- + diff --git a/templates/map.html b/templates/map.html index 8918d04..b4c763e 100644 --- a/templates/map.html +++ b/templates/map.html @@ -113,8 +113,8 @@ const CARTODB_API_KEY = "{{ web_ui_options.get('cartodb_api_key', '') }}"; - - + + diff --git a/templates/spots.html b/templates/spots.html index 6e9abed..3327cc6 100644 --- a/templates/spots.html +++ b/templates/spots.html @@ -113,8 +113,8 @@ - - + + diff --git a/templates/status.html b/templates/status.html index 4d5a6a9..a7ff123 100644 --- a/templates/status.html +++ b/templates/status.html @@ -86,7 +86,7 @@ - +