Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
ecl_epics_envmon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mikhail Remnev
ecl_epics_envmon
Commits
9ecacd11
Commit
9ecacd11
authored
1 year ago
by
Mikhail Remnev
Browse files
Options
Downloads
Patches
Plain Diff
Code cleanup, use new path for the data files
parent
f324c958
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ecl_epics_envmon.py
+5
-4
5 additions, 4 deletions
ecl_epics_envmon.py
with
5 additions
and
4 deletions
ecl_epics_envmon.py
+
5
−
4
View file @
9ecacd11
#!/usr/bin/env python
2
#!/usr/bin/env python
3
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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment