CQ/ITU zone lookups

This commit is contained in:
Ian Renton
2026-02-03 19:06:43 +00:00
parent 9241a26a47
commit 3cd1352ff3
9 changed files with 208694 additions and 9 deletions

View File

@@ -79,7 +79,8 @@ class Alert:
if self.received_time and not self.received_time_iso:
self.received_time_iso = datetime.fromtimestamp(self.received_time, pytz.UTC).isoformat()
# DX country, continent, zones etc. from callsign
# DX country, continent, zones etc. from callsign. CQ/ITU zone are better looked up with a location but we don't
# have a real location for alerts.
if self.dx_calls and self.dx_calls[0] and not self.dx_country:
self.dx_country = lookup_helper.infer_country_from_callsign(self.dx_calls[0])
if self.dx_calls and self.dx_calls[0] and not self.dx_continent: