Skip to content

Commit

Permalink
Add 'channel' to prologue format dictionary
Browse files Browse the repository at this point in the history
  • Loading branch information
pnuu committed Mar 23, 2017
1 parent 37bcefd commit f45ba02
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions mpop/satin/mipp_xrit.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,13 +153,15 @@ def load_generic(satscene, options, calibrate=True, area_extent=None,

if pattern_epi is not None:
glob_epi = satscene.time_slot.strftime(
pattern_epi) % ({'segment': "EPI".ljust(9, '_')})
pattern_epi) % ({'segment': "EPI".ljust(9, '_'),
'channel': chn + '*'})
else:
glob_epi = 'eggs_and_spam'

if pattern_pro is not None:
glob_pro = satscene.time_slot.strftime(
pattern_pro) % ({'segment': "PRO".ljust(9, '_')})
pattern_pro) % ({'segment': "PRO".ljust(9, '_'),
'channel': chn + '*'})
else:
glob_pro = 'eggs_and_spam'

Expand Down

0 comments on commit f45ba02

Please sign in to comment.