Skip to content
GitLab
菜单
项目
群组
代码片段
/
帮助
帮助
支持
社区论坛
快捷键
?
提交反馈
登录/注册
切换导航
菜单
打开侧边栏
NJU Geophy
seispy
提交
848360c7
提交
848360c7
编辑于
10月 28, 2021
作者:
Mijian Xu
😷
浏览文件
Raise error log when number of sacfiles is not 3.
上级
2a8572e8
变更
1
Hide whitespace changes
Inline
Side-by-side
seispy/rf.py
浏览文件 @
848360c7
...
...
@@ -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.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录