mirror of
https://github.com/projecthorus/sondehub-infra.git
synced 2024-12-24 07:16:42 +00:00
Adjust sondemonitor block version (#94)
Co-authored-by: Mark Jessop <darkside@Marks-MacBook-Pro.local>
This commit is contained in:
parent
12296f1450
commit
63222dd134
@ -292,8 +292,8 @@ def telemetry_filter(telemetry):
|
|||||||
return (False,f"Autorx version is out of date and doesn't handle iMet-1 and iMet-4 radiosondes correctly. Please update to 1.5.9 or later")
|
return (False,f"Autorx version is out of date and doesn't handle iMet-1 and iMet-4 radiosondes correctly. Please update to 1.5.9 or later")
|
||||||
if "DFM" in telemetry["type"]:
|
if "DFM" in telemetry["type"]:
|
||||||
if telemetry["software_name"] == "SondeMonitor":
|
if telemetry["software_name"] == "SondeMonitor":
|
||||||
if parse_sondemonitor_version(telemetry["software_version"]) < (6,2,7,9):
|
if parse_sondemonitor_version(telemetry["software_version"]) < (6,2,8,4):
|
||||||
return (False,f"SondeMonitor version is out of date and doesn't handle DFM radiosondes correctly. Please update to 6.2.7.9 or later")
|
return (False,f"SondeMonitor version is out of date and doesn't handle DFM radiosondes correctly. Please update to 6.2.8.4 or later")
|
||||||
|
|
||||||
if "dev" in telemetry:
|
if "dev" in telemetry:
|
||||||
return (False, "All checks passed however payload contained dev flag so will not be uploaded to the database")
|
return (False, "All checks passed however payload contained dev flag so will not be uploaded to the database")
|
||||||
|
Loading…
Reference in New Issue
Block a user