mirror of
https://github.com/projecthorus/sondehub-infra.git
synced 2024-12-18 20:57:56 +00:00
block bad subtype
This commit is contained in:
parent
cf3d1cdd74
commit
60f5210776
@ -182,6 +182,8 @@ def telemetry_filter(telemetry):
|
||||
if telemetry["alt"] == 0:
|
||||
return (False,f"Sonde {telemetry['serial']} altitude is exactly 0m. Position is likely incorrect")
|
||||
|
||||
if "subtype" in telemetry and telemetry["subtype"] == "DL0UJ-12":
|
||||
return (False,f"sondehub.org is not for use with amateur balloons. Use amateur.sondehub.org instead.")
|
||||
|
||||
if "humidity" in telemetry and telemetry["humidity"] < 0:
|
||||
return (False,f"Humidity {telemetry['humidity']} is below 0")
|
||||
|
Loading…
Reference in New Issue
Block a user