提交 848360c7 编辑于 作者: Mijian Xu's avatar Mijian Xu 😷
浏览文件

Raise error log when number of sacfiles is not 3.

上级 2a8572e8
......@@ -115,6 +115,7 @@ def match_eq(eq_lst, pathname, stla, stlo, logger, ref_comp='Z', suffix='SAC', o
this_eq = eq(pathname, datestr, suffix)
except Exception as e:
logger.RF.error(''.format(e))
continue
this_eq.get_time_offset(results.iloc[0]['date'])
daz = distaz(stla, stlo, results.iloc[0]['evla'], results.iloc[0]['evlo'])
this_df = pd.DataFrame([[daz.delta, daz.baz, this_eq, datestr]], columns=new_col, index=results.index.values)
......
支持 Markdown
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册