Skip to content
Snippets Groups Projects
Commit 9ecacd11 authored by Mikhail Remnev's avatar Mikhail Remnev
Browse files

Code cleanup, use new path for the data files

parent f324c958
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/env python2
#!/usr/bin/env python3
from __future__ import print_function
......@@ -7,7 +7,6 @@ from pcaspy import SimpleServer, Driver
from datetime import datetime
import subprocess as sp
from threading import Thread
import thread
import time
PHI_MAX = 72
......@@ -198,11 +197,13 @@ def parse_data(yymmdd):
[phi2_temp1, phi2_temp2, phi2_temp3, phi2_hum],
...
[phi72_temp1, phi72_temp2, phi72_temp3, phi72_hum]
[
]
"""
results = [list() for x in range(72)]
file_path = '/home/kenkichi/kanomika/envmon/%s_envmon.txt' % yymmdd
# file_path = '/home/kenkichi/kanomika/envmon/%s_envmon.txt' % yymmdd
file_path = '/home/group/b2ecl/barrel_envmon/%s_envmon.txt' % yymmdd
lines = open(file_path, 'r').readlines()
if len(lines) < 6:
return None
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment