未验证 提交 706b8ea3 编辑于 作者: Mijian Xu's avatar Mijian Xu 😷 提交者: GitHub
浏览文件

Update rf2depth_makedata.py

上级 383bd287
......@@ -150,12 +150,7 @@ def makedata3d(cpara, velmod3d, log=setuplog(), raytracing3d=True):
rfdep['piercelon'] = pplon_s
rfdep['stopindex'] = end_index
RFdepth.append(rfdep)
try:
savemat(cpara.depthdat, {'RFdepth': RFdepth})
except FileNotFoundError:
log.RF2depthlog.warning('No such file or directory: {}'.format(dirname(cpara.depthdat)))
rfdep_path = input('Enter a exist path:')
savemat(rfdep_path, {'RFdepth': RFdepth})
np.save(cpara.depthdat, RFdepth)
def rf2depth():
......
支持 Markdown
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册