Extract SIG and SIG_INFO from cluster spots. Closes #47

This commit is contained in:
Ian Renton
2025-10-20 11:05:45 +01:00
parent a21782cb62
commit 20977e59cf
16 changed files with 44 additions and 6 deletions

View File

@@ -2,6 +2,7 @@ from datetime import datetime
import pytz
from core.utils import get_icon_for_sig
from data.spot import Spot
from spotproviders.http_spot_provider import HTTPSpotProvider
@@ -30,6 +31,7 @@ class WWFF(HTTPSpotProvider):
sig_refs=[source_spot["reference"]],
sig_refs_names=[source_spot["reference_name"]],
sig_refs_urls=["https://wwff.co/directory/?showRef=" + source_spot["reference"]],
icon=get_icon_for_sig("WWFF"),
time=datetime.fromtimestamp(source_spot["spot_time"], tz=pytz.UTC).timestamp(),
dx_latitude=source_spot["latitude"],
dx_longitude=source_spot["longitude"])