Correct default_atypes to match what's generated

Kevin Monceaux reported a regression with the 2.4 release. Running
with the -a/--alert option and no limited --atypes or atypes
override in weatherrc resulted in a message about undefined URLs
and no normal output. This problem crept in when hard-coding alert
types in the correlator after ditching the woefully unmaintained
zonecatalog.curr.tar data source (commit 8a37edd).

Update default_atypes so that it covers all relevant non-forecast
URLs the correlate routine embeds.
This commit is contained in:
Jeremy Stanley
2020-07-25 15:26:16 +00:00
parent 8ad1f3f02c
commit 9fa7d3cf18

View File

@@ -400,14 +400,9 @@ def get_options(config):
+ "flash_flood_watch," \
+ "flood_statement," \
+ "flood_warning," \
+ "marine_weather_statement," \
+ "river_statement," \
+ "severe_thunderstorm_warning," \
+ "severe_weather_statement," \
+ "short_term_forecast," \
+ "special_marine_warning," \
+ "special_weather_statement," \
+ "tornado_warning," \
+ "urgent_weather_message"
option_parser.add_option("--atypes",
dest="atypes",