import os
def read_stat_clk(path, mudi_path):
files = os.listdir(path)
# print(files)
for file in files:
final_path = path + '\\' + file
# print(final_path)
if file.find('pos') > 0:
filename1 = os.path.splitext(file)[0]
filename = os.path.splitext(filename1)[0]
else:
filename = os.path.splitext(file)[0]
# print(filename)
clk = []
f = open(final_path)
line = f.readline()
while line:
if line.find("CLK") > 0:
# print(line)
clk_list = list(line.split(","))
# print(clk_list)
clk_line = "".join(clk_list[1]) + " " + "".join(clk_list[2] +
" " + "
python画图读取rtklib的stat文件中的钟差,可根据自己需有修改相关代码
最新推荐文章于 2021-01-29 02:19:26 发布