修改python模块引用方式
这个提交包含在:
@@ -3,6 +3,8 @@ import warnings
|
||||
warnings.filterwarnings('ignore')
|
||||
import argparse, json
|
||||
from common import NoIndent, MyEncoder
|
||||
import os, sys
|
||||
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__))+'/pyat')
|
||||
|
||||
def _argparse():
|
||||
parser = argparse.ArgumentParser(description='tl client')
|
||||
@@ -34,7 +36,7 @@ def main():
|
||||
NThreads = int(paramData["NThreads"])
|
||||
outParam = paramData["outParam"]
|
||||
|
||||
from pyat.RANDIcore import call_RANDI
|
||||
from RANDIcore import call_RANDI
|
||||
NL = call_RANDI(ETOPO1Path, STPath, outParam["outPath"], freq, receiveDepth,
|
||||
lon, lat, timeType, NThreads)
|
||||
print(round(NL,2))
|
||||
|
||||
在新工单中引用
屏蔽一个用户