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

make sure --ctr_lat & --ctr_lon are provided when using sector meso

parent 91b3ec94
No related branches found
No related tags found
1 merge request!11Resolve "make error messages more descriptive"
......@@ -157,6 +157,10 @@ def grid_setup(args, work_dir=os.getcwd()):
log.error("Tried to grid file that does not exist: {}".format(f))
exit(1)
if args.goes_sector == "meso" and (args.ctr_lat == None or args.ctr_lon == None):
log.error("sector 'meso' requires --ctr-lat & --ctr-lon")
exit(1)
try:
start_time, end_time = get_start_end(args.filenames)
except:
......
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