Merge pull request #814 from darksidelemm/testing

Fix to skewt decimation error.
pull/805/head
Mark Jessop 2023-09-25 08:01:30 +09:30 zatwierdzone przez GitHub
commit 24911c054c
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
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