瀏覽代碼

Bug fix: some times format recognition were broken

master
Benito Marcote 11 個月前
父節點
當前提交
655cc80e23
  1. 2
      comment_tasav_file.py

2
comment_tasav_file.py

@ -241,7 +241,7 @@ def parse_setup(exp, type_exp, freq, datarate, number_ifs, bandwidth, pols):
# Can happen in case of e-EVNs if this is not the official run exp name.
date = date.replace('\n','').strip()
# date = date.split('\n')[-1].strip()
obsdate = dt.strptime(date, '%Y%m%d')
obsdate = dt.strptime(date[-8:], '%Y%m%d')
if freq < 0.6:
band = 'P'
elif freq < 1.9:

載入中…
取消
儲存