mirror of
https://git.ianrenton.com/ian/spothole.git
synced 2026-09-20 22:37:44 +00:00
Compare commits
1
Commits
2.0.2
...
2a4190ec4a
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2a4190ec4a |
+1
-1
@@ -3,7 +3,7 @@ from data.band import Band
|
||||
from data.sig import SIG
|
||||
|
||||
# General software
|
||||
SOFTWARE_VERSION = "2.0.2"
|
||||
SOFTWARE_VERSION = "2.0.3"
|
||||
|
||||
# HTTP headers used for spot providers that use HTTP
|
||||
HTTP_HEADERS = {"User-Agent": f"Spothole v{SOFTWARE_VERSION} (operated by {SERVER_OWNER_CALLSIGN})"}
|
||||
|
||||
@@ -20,7 +20,7 @@ POLL_INTERVAL = 7200
|
||||
# To avoid looking up all stations in the GIRO system and working out which ones are providing live data, this has been
|
||||
# manually determined and a CSV provided of all the stations that we can query for live data.
|
||||
STATIONS_INDEX = "datafiles/didbase-stations.csv"
|
||||
LGDC_URL = "https://lgdc.uml.edu/common/DIDBGetValues"
|
||||
LGDC_URL = "https://lgdc.uml.edu/fastchar/getbest"
|
||||
HISTORY_HOURS = 24
|
||||
|
||||
|
||||
@@ -140,7 +140,7 @@ class GIROIonosonde(SolarConditionsProvider):
|
||||
|
||||
from_str = from_time.strftime("%Y.%m.%d+%H:%M:%S")
|
||||
to_str = to_time.strftime("%Y.%m.%d+%H:%M:%S")
|
||||
url = f"{LGDC_URL}?ursiCode={ursi}&charName=foF2,MUFD,fmin&DMUF=3000&fromDate={from_str}&toDate={to_str}"
|
||||
url = f"{LGDC_URL}?ursiCode={ursi}&charName=foF2,MUF%28D%29,fmin&DMUF=3000&fromDate={from_str}&toDate={to_str}"
|
||||
try:
|
||||
http_response = requests.get(url, headers=HTTP_HEADERS, timeout=(5, 15))
|
||||
if not http_response.ok:
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
[project]
|
||||
name = "Spothole"
|
||||
version = "2.0.2"
|
||||
version = "2.0.3"
|
||||
authors = [
|
||||
{ name="Ian Renton", email="ian@ianrenton.com" },
|
||||
]
|
||||
|
||||
@@ -76,7 +76,7 @@
|
||||
|
||||
</div>
|
||||
|
||||
<script src="/static/js/add-spot.js?v=1787929803"></script>
|
||||
<script src="/static/js/add-spot.js?v=1787950046"></script>
|
||||
<script>$(document).ready(function () {
|
||||
$("#nav-link-add-spot").addClass("active");
|
||||
}); <!-- highlight active page in nav --></script>
|
||||
|
||||
@@ -84,7 +84,7 @@
|
||||
|
||||
</div>
|
||||
|
||||
<script src="/static/js/alerts.js?v=1787929803"></script>
|
||||
<script src="/static/js/alerts.js?v=1787950046"></script>
|
||||
<script>$(document).ready(function () {
|
||||
$("#nav-link-alerts").addClass("active");
|
||||
}); <!-- highlight active page in nav --></script>
|
||||
|
||||
@@ -76,8 +76,8 @@
|
||||
|
||||
</div>
|
||||
|
||||
<script src="/static/js/spotsbandsandmap.js?v=1787929803"></script>
|
||||
<script src="/static/js/bands.js?v=1787929803"></script>
|
||||
<script src="/static/js/spotsbandsandmap.js?v=1787950046"></script>
|
||||
<script src="/static/js/bands.js?v=1787950046"></script>
|
||||
<script>$(document).ready(function () {
|
||||
$("#nav-link-bands").addClass("active");
|
||||
}); <!-- highlight active page in nav --></script>
|
||||
|
||||
+5
-5
@@ -1,6 +1,6 @@
|
||||
{% extends "skeleton.html" %}
|
||||
{% block head_extra %}
|
||||
<link rel="stylesheet" href="/static/css/style.css?v=1787929803" type="text/css">
|
||||
<link rel="stylesheet" href="/static/css/style.css?v=1787950046" type="text/css">
|
||||
<link href="/static/vendor/css/bootstrap-5.3.8.min.css" rel="stylesheet">
|
||||
<link href="/static/vendor/css/fontawesome-6.7.2.min.css" rel="stylesheet">
|
||||
<link href="/static/vendor/css/solid-6.7.2.min.css" rel="stylesheet">
|
||||
@@ -15,10 +15,10 @@
|
||||
window.fetchEventSource = fetchEventSource;
|
||||
</script>
|
||||
|
||||
<script src="/static/js/utils.js?v=1787929803"></script>
|
||||
<script src="/static/js/ui-ham.js?v=1787929803"></script>
|
||||
<script src="/static/js/geo.js?v=1787929803"></script>
|
||||
<script src="/static/js/common.js?v=1787929803"></script>
|
||||
<script src="/static/js/utils.js?v=1787950046"></script>
|
||||
<script src="/static/js/ui-ham.js?v=1787950046"></script>
|
||||
<script src="/static/js/geo.js?v=1787950046"></script>
|
||||
<script src="/static/js/common.js?v=1787950046"></script>
|
||||
{% end %}
|
||||
{% block body %}
|
||||
<div class="container">
|
||||
|
||||
@@ -284,7 +284,7 @@
|
||||
</div>
|
||||
|
||||
<script src="/static/vendor/js/chart-4.4.9.umd.min.js"></script>
|
||||
<script src="/static/js/conditions.js?v=1787929803"></script>
|
||||
<script src="/static/js/conditions.js?v=1787950046"></script>
|
||||
<script>$(document).ready(function () {
|
||||
$("#nav-link-conditions").addClass("active");
|
||||
}); <!-- highlight active page in nav --></script>
|
||||
|
||||
+2
-2
@@ -113,8 +113,8 @@
|
||||
const CARTODB_API_KEY = "{{ web_ui_options.get('cartodb_api_key', '') }}";
|
||||
</script>
|
||||
|
||||
<script src="/static/js/spotsbandsandmap.js?v=1787929802"></script>
|
||||
<script src="/static/js/map.js?v=1787929802"></script>
|
||||
<script src="/static/js/spotsbandsandmap.js?v=1787950045"></script>
|
||||
<script src="/static/js/map.js?v=1787950045"></script>
|
||||
<script>$(document).ready(function () {
|
||||
$("#nav-link-map").addClass("active");
|
||||
}); <!-- highlight active page in nav --></script>
|
||||
|
||||
@@ -113,8 +113,8 @@
|
||||
|
||||
</div>
|
||||
|
||||
<script src="/static/js/spotsbandsandmap.js?v=1787929802"></script>
|
||||
<script src="/static/js/spots.js?v=1787929802"></script>
|
||||
<script src="/static/js/spotsbandsandmap.js?v=1787950045"></script>
|
||||
<script src="/static/js/spots.js?v=1787950045"></script>
|
||||
<script>$(document).ready(function () {
|
||||
$("#nav-link-spots").addClass("active");
|
||||
}); <!-- highlight active page in nav --></script>
|
||||
|
||||
@@ -86,7 +86,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="/static/js/status.js?v=1787929803"></script>
|
||||
<script src="/static/js/status.js?v=1787950046"></script>
|
||||
<script>
|
||||
$(document).ready(function () {
|
||||
$("#nav-link-status").addClass("active");
|
||||
|
||||
Reference in New Issue
Block a user