Add --any-severe flag

This commit is contained in:
XANTRONIX 2025-03-28 11:13:35 -04:00
parent a427da4b91
commit 066c20d23c

View file

@ -56,6 +56,7 @@ def render_probabilistic(conus: SPCOutlookMap,
argparser = argparse.ArgumentParser(description='Render graphical SPC outlooks from text file')
argparser.add_argument('--dark', action='store_true', help='Output dark mode graphics')
argparser.add_argument('--categorical', type=str, help='Output categorical risk graphic file')
argparser.add_argument('--any-severe', type=str, help='Output probabilistic severe risk graphic file')
argparser.add_argument('--tornado', type=str, help='Output probabilistic hail risk graphic file')
argparser.add_argument('--hail', type=str, help='Output probabilistic hail risk graphic file')
argparser.add_argument('--wind', type=str, help='Output probabilistic wind risk graphic file')
@ -72,6 +73,9 @@ with open(args.outlook, 'r') as fh:
if args.categorical is not None:
render_categorical(conus, outlook, args)
if args.any_severe is not None:
render_probabilistic(conus, outlook, 'any severe', args.any_severe, args)
if args.tornado is not None:
render_probabilistic(conus, outlook, 'tornado', args.tornado, args)