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

remove an erroneous print and pass a basename to parse_glm_filename

parent 662e287c
No related branches found
No related tags found
1 merge request!12Resolve "filename prefix change"
......@@ -157,8 +157,7 @@ def get_outpath_base(args):
start_time, end_time: datetimes that can be used with strftime syntax, e.g.
'./{start_time:%y/%b/%d}/GLM_{start_time:%Y%m%d_%H%M%S}.nc'
"""
print(parse_glm_filename(args.filenames[0]))
ops_environment, algorithm, platform, start_time, end_time, created_time = parse_glm_filename(args.filenames[0])
ops_environment, algorithm, platform, start_time, end_time, created_time = parse_glm_filename(os.path.basename(args.filenames[0]))
sector_short = get_sector_shortstring(args)
mode = "M3" # FIXME: is GLM always in M3?
......
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