v1.3 fixes truncation bug, recommends zone vs county, updated README

This commit is contained in:
K2IE 2024-03-27 16:32:10 -04:00
parent a1eb77aa3d
commit 2e3470c41f
4 changed files with 16 additions and 8 deletions

View File

@ -1,5 +1,5 @@
Package: noaacap
Version: 1.2.0
Version: 1.3.0
Section: hamradio
Priority: extra
Maintainer: Dan Srebnick <k2ie at k2ie.net>

View File

@ -6,7 +6,7 @@
##
## See /usr/local/share/noaacap/CHANGELOG for change history
##
version = "1.2"
version = "1.3"
import sys
import pytz
@ -352,7 +352,6 @@ for i in range(0, count):
streak_end = next_suffix
zcs = zcs + '>' + streak_end
zcs = zcs[:-1]
log.debug("ZCS Value: " + zcs)
type = pp[bytes(Phenomena, 'utf-8')].decode('utf-8')

View File

@ -1,5 +1,9 @@
noaacap changelog
##
Version: 1.3
Release: TBD
Fixed truncation bug in compressed zone list
##
Version: 1.2
Release: March 27, 2024
Reintroduced compressed zones and other improvements

View File

@ -14,7 +14,7 @@ https://github.com/K2IE/noaacap/releases
Once you are running aprx >= 2.9 or direwolf >= 1.3, install noaacap:
Install via sudo dpkg -i noaacap-1.0.deb. Then, to satisfy the dependencies,
Install via sudo dpkg -i noaacap-1.3.deb. Then, to satisfy the dependencies,
run sudo apt-get -f install.
==> APRX CONFIGURATION <==
@ -57,10 +57,14 @@ myTZ should be set to the Linux TZ value for the issuing office of your
preferred weather zone. For a complete list of timezones, you may use
the following command: timedatectl list-timezones | grep America.
myZone should be set to your county code. A list of county codes may be found
at https://alerts.weather.gov/. Only list one county. The program will then
send the alert for all affected zones. You could instead use a zone code if
you want to be more specific.
myZone should be set to your zone code. A list of zone codes may be found
at https://www.weather.gov/pimar/PubZone. Only list one zone. The program
will send the alert for all affected zones that will fit in the allocated 67
characters. You could instead use a county code if you wish. However the
associated zone may also be sent in, wasting characters.
As an example, if you're located in Lancaster, PA, the map shows that you
are in zone 066. Enter PA066 for myZone.
myResend should be set to 0 for no message resends or to an interval of your
choosing. If noaacap beacons every 2 minutes, a value of 30 would provide
@ -82,3 +86,4 @@ weather alerts via this program.
Dan Srebnick, K2IE
02/06/2020
Updated 03/27/2024