Fix to skewt decimation error.

pull/814/head
Mark Jessop 2023-09-25 08:00:49 +09:30
rodzic 4efee74fb1
commit 6d24b2dc28
2 zmienionych plików z 6 dodań i 1 usunięć

Wyświetl plik

@ -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

Wyświetl plik

@ -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