how does i math

This commit is contained in:
Ian Renton
2026-08-15 17:04:45 +01:00
parent ae1f752516
commit 325d445f30
9 changed files with 17 additions and 17 deletions
+2 -2
View File
@@ -27,8 +27,8 @@ class IOTA(FileDownloadSIGRefDataProvider):
if isinstance(data, list):
for ref in data:
ref_id = ref["refno"]
latitude = float(ref["latitude_min"]) + float(ref["latitude_max"]) / 2.0
longitude = float(ref["longitude_min"]) + float(ref["longitude_max"]) / 2.0
latitude = (float(ref["latitude_min"]) + float(ref["latitude_max"])) / 2.0
longitude = (float(ref["longitude_min"]) + float(ref["longitude_max"])) / 2.0
grid = None
try:
grid = latlong_to_locator(latitude, longitude, 6)