kopia lustrzana https://github.com/projecthorus/radiosonde_auto_rx
Add -XDATA onto type when logging imet sondes
rodzic
8d14750c53
commit
5fa360534e
|
@ -12,7 +12,7 @@ from queue import Queue
|
|||
# MINOR - New sonde type support, other fairly big changes that may result in telemetry or config file incompatability issus.
|
||||
# PATCH - Small changes, or minor feature additions.
|
||||
|
||||
__version__ = "1.7.1-beta2"
|
||||
__version__ = "1.7.1-beta3"
|
||||
|
||||
|
||||
# Global Variables
|
||||
|
|
|
@ -199,6 +199,9 @@ class TelemetryLogger(object):
|
|||
_id = telemetry["id"]
|
||||
_type = telemetry["type"]
|
||||
|
||||
if 'aux' in telemetry:
|
||||
_type += "-XDATA"
|
||||
|
||||
# If there is no log open for the current ID check to see if there is an existing (closed) log file, and open it.
|
||||
if _id not in self.open_logs:
|
||||
_search_string = os.path.join(self.log_directory, "*%s_*_sonde.log" % (_id))
|
||||
|
|
|
@ -196,6 +196,8 @@ def short_type_lookup(type_name):
|
|||
return "Lockheed Martin LMS6-1680"
|
||||
elif type_name == "IMET":
|
||||
return "Intermet Systems iMet-1/4"
|
||||
elif type_name == "IMET-XDATA":
|
||||
return "Intermet Systems iMet-1/4 + XDATA"
|
||||
elif type_name == "IMET5":
|
||||
return "Intermet Systems iMet-5x"
|
||||
elif type_name == "MEISEI":
|
||||
|
@ -238,6 +240,8 @@ def short_short_type_lookup(type_name):
|
|||
return "LMS6-1680"
|
||||
elif type_name == "IMET":
|
||||
return "iMet-1/4"
|
||||
elif type_name == "IMET-XDATA":
|
||||
return "iMet-1/4"
|
||||
elif type_name == "IMET5":
|
||||
return "iMet-5x"
|
||||
elif type_name == "MEISEI":
|
||||
|
|
Ładowanie…
Reference in New Issue