up a river

without help
This commit is contained in:
SpudGunMan
2025-08-13 20:41:42 -07:00
parent fdb7897963
commit 0675132171
4 changed files with 8 additions and 4 deletions
+1 -1
View File
@@ -330,7 +330,7 @@ Volcano Alerts use lat/long to determine ~1000km radius
```ini
[location]
# USGS Hydrology unique identifiers, LID or USGS ID https://waterdata.usgs.gov
riverListDefault = 14144700
riverList = 14144700 # example Mouth of Columbia River
# USGS Volcano alerts Enable USGS Volcano Alert Broadcast
volcanoAlertBroadcastEnabled = False
+2 -2
View File
@@ -160,8 +160,8 @@ myCoastalZone = https://tgftp.nws.noaa.gov/data/forecasts/marine/coastal/pz/pzz1
# number of data points to return, default is 3
coastalForecastDays = 3
# USGS Hydrology unique identifiers, LID or USGS ID https://waterdata.usgs.gov
riverListDefault =
# NOAA USGS Hydrology river identifiers, LID or USGS ID https://waterdata.usgs.gov
riverList =
# NOAA EAS Alert Broadcast
wxAlertBroadcastEnabled = False
+1 -1
View File
@@ -250,7 +250,7 @@ try:
repeater_lookup = config['location'].get('repeaterLookup', 'rbook') # default repeater lookup source
n2yoAPIKey = config['location'].get('n2yoAPIKey', '') # default empty
satListConfig = config['location'].get('satList', '25544').split(',') # default 25544 ISS
riverListDefault = config['location'].get('riverList', '').split(',') # default 12061500 Skagit River
riverListDefault = config['location'].get('riverList', '').split(',') # default None
coastalEnabled = config['location'].getboolean('coastalEnabled', False) # default False
myCoastalZone = config['location'].get('myCoastalZone', None) # default None
coastalForecastDays = config['location'].getint('coastalForecastDays', 3) # default 3 days
+4
View File
@@ -94,6 +94,10 @@ if location_enabled:
# NOAA only features
help_message = help_message + ", wxa"
# USGS riverFlow Configuration
if riverListDefault != ['']:
help_message = help_message + ", riverflow"
# NOAA alerts needs location module
if wxAlertBroadcastEnabled or emergencyAlertBrodcastEnabled or volcanoAlertBroadcastEnabled:
from modules.locationdata import * # from the spudgunman/meshing-around repo