kopia lustrzana https://github.com/projecthorus/radiosonde_auto_rx
Fix to skewt decimation error.
rodzic
4efee74fb1
commit
6d24b2dc28
|
@ -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.6.3-beta7"
|
||||
__version__ = "1.6.3-beta8"
|
||||
|
||||
|
||||
# Global Variables
|
||||
|
|
|
@ -393,6 +393,11 @@ def calculate_skewt_data(
|
|||
|
||||
while i < _burst_idx:
|
||||
i += decimation
|
||||
|
||||
# If we've hit the end of our data, break.
|
||||
if i > (len(datetime) - 1):
|
||||
break
|
||||
|
||||
try:
|
||||
if temperature[i] < -260.0:
|
||||
# If we don't have any valid temp data, just skip this point
|
||||
|
|
Ładowanie…
Reference in New Issue