修复了没有利用ng的bug。
版本号 Version: 1.2.0.2
This commit is contained in:
6
core.py
6
core.py
@@ -444,7 +444,11 @@ def tangent_line_k(line_x, line_y, center_x, center_y, radius, init_k=10.0):
|
|||||||
|
|
||||||
|
|
||||||
def func_ng(td): # 地闪密度,通过雷暴日计算
|
def func_ng(td): # 地闪密度,通过雷暴日计算
|
||||||
return 0.023 * (td ** 1.3)
|
if para.ng > 0:
|
||||||
|
r = para.ng
|
||||||
|
else:
|
||||||
|
r = 0.023 * (td ** 1.3)
|
||||||
|
return r
|
||||||
|
|
||||||
|
|
||||||
# 圆和地面线的交点,只去正x轴上的。
|
# 圆和地面线的交点,只去正x轴上的。
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
Version: 1.2.0
|
Version: 1.2.0.2
|
||||||
#CompanyName: My Imaginary Company
|
#CompanyName: My Imaginary Company
|
||||||
#FileDescription: Simple App
|
#FileDescription: Simple App
|
||||||
#InternalName: Simple App
|
#InternalName: Simple App
|
||||||
|
|||||||
Reference in New Issue
Block a user