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

catch other potential get_start_end errors

parent f1a14149
No related branches found
No related tags found
1 merge request!11Resolve "make error messages more descriptive"
......@@ -162,6 +162,9 @@ def grid_setup(args, work_dir=os.getcwd()):
except ValueError:
log.error("Non-standard filenames provided, use --start and --end to specify data times.")
raise
except:
log.error("Could not parse start & end times from one or more of the files provided.")
exit(1)
base_date = datetime(start_time.year, start_time.month, start_time.day)
proj_name = 'geos'
......
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