From d63488f177ab4b5b4cbfe5f5d90fb6716509c36e Mon Sep 17 00:00:00 2001 From: Mason10198 <31994327+Mason10198@users.noreply.github.com> Date: Wed, 21 Jun 2023 13:50:15 -0500 Subject: [PATCH] v0.2.4 update --- SkyControl.py | 2 +- SkyDescribe.py | 2 +- SkywarnPlus.py | 7 ++++++- config.yaml | 2 +- 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/SkyControl.py b/SkyControl.py index 8e50dfc..bc64952 100644 --- a/SkyControl.py +++ b/SkyControl.py @@ -1,6 +1,6 @@ #!/usr/bin/python3 # SkyControl.py -# A Control Script for SkywarnPlus v0.2.3 +# A Control Script for SkywarnPlus v0.2.4 # by Mason Nelson (N5LSN/WRKF394) # # This script allows you to change the value of specific keys in the SkywarnPlus config.yaml file. diff --git a/SkyDescribe.py b/SkyDescribe.py index 1841e8d..f34365f 100644 --- a/SkyDescribe.py +++ b/SkyDescribe.py @@ -1,7 +1,7 @@ #!/usr/bin/python3 """ -SkyDescribe.py v0.2.3 by Mason Nelson +SkyDescribe.py v0.2.4 by Mason Nelson ================================================== Text to Speech conversion for Weather Descriptions diff --git a/SkywarnPlus.py b/SkywarnPlus.py index 3949a31..ef5ba3b 100644 --- a/SkywarnPlus.py +++ b/SkywarnPlus.py @@ -1,7 +1,7 @@ #!/usr/bin/python3 """ -SkywarnPlus v0.2.3 by Mason Nelson (N5LSN/WRKF394) +SkywarnPlus v0.2.4 by Mason Nelson (N5LSN/WRKF394) ================================================== SkywarnPlus is a utility that retrieves severe weather alerts from the National Weather Service and integrates these alerts with an Asterisk/app_rpt based @@ -406,6 +406,11 @@ def getAlerts(countyCodes): severity = severity_mapping_api.get(severity, 0) alerts[(event, severity)] = description seen_alerts.add(event) + else: + logger.debug( + "getAlerts: Skipping alert %s, not active.", event + ) + logger.debug("Current time: %s | Alert onset: %s | Alert ends %s", current_time, onset_time_utc, ends_time_utc) else: logger.error( diff --git a/config.yaml b/config.yaml index 4210839..f3f571a 100644 --- a/config.yaml +++ b/config.yaml @@ -1,4 +1,4 @@ -# SkywarnPlus v0.2.3 Configuration File +# SkywarnPlus v0.2.4 Configuration File # Author: Mason Nelson (N5LSN/WRKF394) # Please edit this file according to your specific requirements. #