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

attempted fix for the 20s end times issue. we might need to revisit and be...

attempted fix for the 20s end times issue. we might need to revisit and be more explicit in order to handle bad input as well.
parent cecb6f4e
No related branches found
No related tags found
1 merge request!131.0b1rc2 fixups
...@@ -158,7 +158,9 @@ def get_outpath_base(args): ...@@ -158,7 +158,9 @@ def get_outpath_base(args):
start_time, end_time: datetimes that can be used with strftime syntax, e.g. 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' './{start_time:%y/%b/%d}/GLM_{start_time:%Y%m%d_%H%M%S}.nc'
""" """
ops_environment, algorithm, platform, start_time, end_time, created_time = parse_glm_filename(os.path.basename(args.filenames[0])) ordered_filenames = sorted(args.filenames)
_, _, platform, start_time, _, _ = parse_glm_filename(os.path.basename(ordered_filenames[0]))
_, _, _, _, end_time, _ = parse_glm_filename(os.path.basename(ordered_filenames[-1]))
sector_short = get_sector_shortstring(args) sector_short = get_sector_shortstring(args)
mode = "M3" # FIXME: is GLM always in M3? 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