Skip to content
Snippets Groups Projects
Commit 095363b5 authored by Nick Bearson's avatar Nick Bearson
Browse files

Change the realtime flag from -1 to -r. This will allow argparse to parse...

Change the realtime flag from -1 to -r. This will allow argparse to parse negative values without extra handholding.
parent 8111e609
No related branches found
No related tags found
1 merge request!19Resolve "negative center lat/lons (meso) confuse the parser"
This commit is part of merge request !19. Comments created here will be created in the context of that merge request.
......@@ -87,7 +87,7 @@ def create_parser():
type=float, help='center latitude (required for meso)')
parser.add_argument('--ctr-lon', metavar='longitude',
type=float, help='center longitude (required for meso)')
parser.add_argument('-1', "--realtime", default=False, action='store_true',
parser.add_argument('-r', "--realtime", default=False, action='store_true',
help="enable 'realtime' mode, where we expect only one input file,\n"
"find the surrounding trio, and automatically determine if a full minute\n"
"of data is available (default: off)")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment