Make ionosonde_data a map keyed by URSI, and on polling the website, replace data for the specific URSI rather than overwriting everything. This allows us to preserve data from an older lookup if the website is down or returns nothing

This commit is contained in:
Ian Renton
2026-05-16 11:04:40 +01:00
parent 6058eb5053
commit a7a45190cb
13 changed files with 48 additions and 49 deletions

View File

@@ -94,9 +94,9 @@
<script>
let spotProvidersEnabledByDefault = {% raw json_encode(web_ui_options["spot-providers-enabled-by-default"]) %};
</script>
<script src="/js/common.js?v=1778924255"></script>
<script src="/js/spotsbandsandmap.js?v=1778924255"></script>
<script src="/js/map.js?v=1778924255"></script>
<script src="/js/common.js?v=1778925881"></script>
<script src="/js/spotsbandsandmap.js?v=1778925881"></script>
<script src="/js/map.js?v=1778925881"></script>
<script>$(document).ready(function() { $("#nav-link-map").addClass("active"); }); <!-- highlight active page in nav --></script>
{% end %}