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

fix depmod.depths_extend

上级 21ce8612
......@@ -49,6 +49,7 @@ class DepModel(object):
self.dep_val = np.average(np.diff(self.depths))
if elevation == 0:
self.depths_elev = self.depths
self.depths_extend = self.depths
else:
dep_append = np.arange(self.depths[-1]+self.dep_val,
self.depths[-1]+self.dep_val+np.floor(elevation/self.dep_val+1), self.dep_val)
......
支持 Markdown
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册