Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
km3mon
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
Container Registry
Model registry
Operate
Environments
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
km3py
km3mon
Commits
f52a6b49
Commit
f52a6b49
authored
5 years ago
by
Tamas Gal
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of git.km3net.de:km3py/km3mon
parents
ecdb8550
18185a4d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
README.md
+14
-2
14 additions, 2 deletions
README.md
app/templates/base.html
+3
-3
3 additions, 3 deletions
app/templates/base.html
requirements.txt
+1
-1
1 addition, 1 deletion
requirements.txt
setenv_template.sh
+1
-1
1 addition, 1 deletion
setenv_template.sh
supervisord.conf
+20
-11
20 additions, 11 deletions
supervisord.conf
with
39 additions
and
18 deletions
README.md
+
14
−
2
View file @
f52a6b49
...
...
@@ -27,10 +27,18 @@ export DETECTOR_MANAGER_IP=192.168.0.120
export
MONITORING_LIGIER_PORT
=
55530
export
WEBSERVER_PORT
=
8081
export
LOGGING_PORT
=
8082
export
LIGIER_CMD
=
"JLigier"
export
TAGS_TO_MIRROR
=
"IO_EVT, IO_SUM, IO_TSL, IO_TSL0, IO_TSL1, IO_TSL2, IO_TSSN, MSG, IO_MONIT"
export
DETX
=
"KM3NeT_00000043_03062019_t0set-A02087174.detx"
export
ROYFIT_TIMERES
=
"data/time_residuals.csv"
export
LIGIER_CMD
=
"singularity exec /home/off1user/Software/Jpp_svn2git-rc9.sif JLigier"
export
TAGS_TO_MIRROR
=
"IO_EVT, IO_SUM, IO_TSSN, MSG, IO_MONIT"
```
Notice the
`LIGIER_CMD`
which in this case uses a Singularity image of Jpp.
The
`DETX`
needs to point to a recently calibrated DETX file otherwise the
live reconstruction will not work correctly.
For the weblog you need to download the latest version of
`frontail`
:
https://github.com/mthenw/frontail/releases
After that, use the following command to start the
``supervisor``
, which
you only need to do once:
...
...
@@ -83,6 +91,10 @@ different kind of parameters, like plot attributes or ranges.
Here is an example
`pipeline.toml`
:
```
[WebServer]
username = "km3net"
password = "swordfish"
[DOMRates]
lowest_rate = 150 # [kHz]
highest_rate = 350 # [kHz]
...
...
This diff is collapsed.
Click to expand it.
app/templates/base.html
+
3
−
3
View file @
f52a6b49
...
...
@@ -44,9 +44,9 @@
<ul
class=
"nav navbar-nav"
>
<li
class=
"active"
><a
href=
"rttc.html"
>
RTTC
</a></li>
</ul>
<!--
<ul class="nav navbar
-
nav">
-->
<!--
<li class="active"><a href="k40.html">K40</a></li>
-->
<
!-- </ul> --
>
<ul
class=
"nav navbar
-
nav"
>
<li
class=
"active"
><a
href=
"k40.html"
>
K40
</a></li>
<
/ul
>
<ul
class=
"nav navbar-nav"
>
<li
class=
"active"
><a
href=
"reco.html"
>
Reco
</a></li>
</ul>
...
...
This diff is collapsed.
Click to expand it.
requirements.txt
+
1
−
1
View file @
f52a6b49
km3pipe
km3pipe
>=8.18.1
flask
frozen-flask
gunicorn
...
...
This diff is collapsed.
Click to expand it.
setenv_template.sh
+
1
−
1
View file @
f52a6b49
...
...
@@ -9,4 +9,4 @@ export LOGGING_PORT=8082
export
DETX
=
""
export
ROYFIT_TIMERES
=
"data/time_residuals.csv"
export
LIGIER_CMD
=
"JLigier"
export
TAGS_TO_MIRROR
=
"IO_EVT, IO_SUM, IO_TSL
, IO_TSL0, IO_TSL1, IO_TSL2
, IO_TSSN, MSG, IO_MONIT"
export
TAGS_TO_MIRROR
=
"IO_EVT, IO_SUM, IO_TSL
1
, IO_TSSN, MSG, IO_MONIT"
This diff is collapsed.
Click to expand it.
supervisord.conf
+
20
−
11
View file @
f52a6b49
...
...
@@ -80,7 +80,7 @@ stdout_logfile=logs/%(program_name)s.out.log ; stdout log path, NONE for
stderr_logfile
=
logs
/%(
program_name
)
s
.
err
.
log
;
stderr
log
path
,
NONE
for
none
;
default
AUTO
[
program
:
ahrs_calibration
]
command
=
python
scripts
/
ahrs_calibration
.
py
-
d
%(
ENV_DETECTOR_ID
)
s
-
p
%(
ENV_MONITORING_LIGIER_PORT
)
s
command
=
python
-
u
scripts
/
ahrs_calibration
.
py
-
d
%(
ENV_DETECTOR_ID
)
s
-
p
%(
ENV_MONITORING_LIGIER_PORT
)
s
;
process_name
=%(
program_name
)
s
;
process_name
expr
(
default
%(
program_name
)
s
)
;
priority
=
999
;
the
relative
start
priority
(
default
999
)
;
startsecs
=
1
;
# of secs prog must stay up to be running (def. 1)
...
...
@@ -91,37 +91,37 @@ stdout_logfile=logs/%(program_name)s.out.log ; stdout log path, NONE for
stderr_logfile
=
logs
/%(
program_name
)
s
.
err
.
log
;
stderr
log
path
,
NONE
for
none
;
default
AUTO
[
program
:
dom_activity
]
command
=
python
scripts
/
dom_activity
.
py
-
d
%(
ENV_DETECTOR_ID
)
s
-
p
%(
ENV_MONITORING_LIGIER_PORT
)
s
command
=
python
-
u
scripts
/
dom_activity
.
py
-
d
%(
ENV_DETECTOR_ID
)
s
-
p
%(
ENV_MONITORING_LIGIER_PORT
)
s
stdout_logfile
=
logs
/%(
program_name
)
s
.
out
.
log
stderr_logfile
=
logs
/%(
program_name
)
s
.
err
.
log
[
program
:
dom_rates
]
command
=
python
scripts
/
dom_rates
.
py
-
d
%(
ENV_DETECTOR_ID
)
s
-
p
%(
ENV_MONITORING_LIGIER_PORT
)
s
command
=
python
-
u
scripts
/
dom_rates
.
py
-
d
%(
ENV_DETECTOR_ID
)
s
-
p
%(
ENV_MONITORING_LIGIER_PORT
)
s
stdout_logfile
=
logs
/%(
program_name
)
s
.
out
.
log
stderr_logfile
=
logs
/%(
program_name
)
s
.
err
.
log
[
program
:
pmt_rates
]
command
=
python
scripts
/
pmt_rates
.
py
-
d
%(
ENV_DETECTOR_ID
)
s
-
p
%(
ENV_MONITORING_LIGIER_PORT
)
s
-
i
20
-
u
3
command
=
python
-
u
scripts
/
pmt_rates
.
py
-
d
%(
ENV_DETECTOR_ID
)
s
-
p
%(
ENV_MONITORING_LIGIER_PORT
)
s
-
i
20
-
u
3
stdout_logfile
=
logs
/%(
program_name
)
s
.
out
.
log
stderr_logfile
=
logs
/%(
program_name
)
s
.
err
.
log
[
program
:
pmt_hrv
]
command
=
python
scripts
/
pmt_hrv
.
py
-
d
%(
ENV_DETECTOR_ID
)
s
-
p
%(
ENV_MONITORING_LIGIER_PORT
)
s
-
i
20
-
u
3
command
=
python
-
u
scripts
/
pmt_hrv
.
py
-
d
%(
ENV_DETECTOR_ID
)
s
-
p
%(
ENV_MONITORING_LIGIER_PORT
)
s
-
i
20
-
u
3
stdout_logfile
=
logs
/%(
program_name
)
s
.
out
.
log
stderr_logfile
=
logs
/%(
program_name
)
s
.
err
.
log
[
program
:
trigger_rates
]
command
=
python
scripts
/
trigger_rates
.
py
-
p
%(
ENV_MONITORING_LIGIER_PORT
)
s
command
=
python
-
u
scripts
/
trigger_rates
.
py
-
p
%(
ENV_MONITORING_LIGIER_PORT
)
s
stdout_logfile
=
logs
/%(
program_name
)
s
.
out
.
log
stderr_logfile
=
logs
/%(
program_name
)
s
.
err
.
log
[
program
:
triggermap
]
command
=
python
scripts
/
live_triggermap
.
py
-
d
%(
ENV_DETECTOR_ID
)
s
-
p
%(
ENV_MONITORING_LIGIER_PORT
)
s
command
=
python
-
u
scripts
/
live_triggermap
.
py
-
d
%(
ENV_DETECTOR_ID
)
s
-
p
%(
ENV_MONITORING_LIGIER_PORT
)
s
stdout_logfile
=
logs
/%(
program_name
)
s
.
out
.
log
stderr_logfile
=
logs
/%(
program_name
)
s
.
err
.
log
[
program
:
ztplot
]
command
=
python
scripts
/
ztplot
.
py
-
d
%(
ENV_DETECTOR_ID
)
s
-
p
%(
ENV_MONITORING_LIGIER_PORT
)
s
command
=
python
-
u
scripts
/
ztplot
.
py
-
d
%(
ENV_DETECTOR_ID
)
s
-
p
%(
ENV_MONITORING_LIGIER_PORT
)
s
stdout_logfile
=
logs
/%(
program_name
)
s
.
out
.
log
stderr_logfile
=
logs
/%(
program_name
)
s
.
err
.
log
...
...
@@ -131,17 +131,22 @@ stdout_logfile=logs/%(program_name)s.out.log
stderr_logfile
=
logs
/%(
program_name
)
s
.
err
.
log
[
program
:
time_residuals
]
command
=
python
scripts
/
time_residuals
.
py
%(
ENV_ROYFIT_TIMERES
)
s
command
=
python
-
u
scripts
/
time_residuals
.
py
%(
ENV_ROYFIT_TIMERES
)
s
stdout_logfile
=
logs
/%(
program_name
)
s
.
out
.
log
stderr_logfile
=
logs
/%(
program_name
)
s
.
err
.
log
[
program
:
rttc
]
command
=
python
scripts
/
rttc
.
py
-
d
%(
ENV_DETECTOR_ID
)
s
-
l
%(
ENV_DETECTOR_MANAGER_IP
)
s
command
=
python
-
u
scripts
/
rttc
.
py
-
d
%(
ENV_DETECTOR_ID
)
s
-
l
%(
ENV_DETECTOR_MANAGER_IP
)
s
stdout_logfile
=
logs
/%(
program_name
)
s
.
out
.
log
stderr_logfile
=
logs
/%(
program_name
)
s
.
err
.
log
[
program
:
k40
]
command
=
python
-
u
scripts
/
k40_calibration
.
py
-
d
%(
ENV_DETECTOR_ID
)
s
-
p
%(
ENV_MONITORING_LIGIER_PORT
)
s
stdout_logfile
=
logs
/%(
program_name
)
s
.
out
.
log
stderr_logfile
=
logs
/%(
program_name
)
s
.
err
.
log
[
program
:
msg_dumper
]
command
=
python
scripts
/
msg_dumper
.
py
-
l
127
.
0
.
0
.
1
-
p
%(
ENV_MONITORING_LIGIER_PORT
)
s
-
f
logs
/
MSG
.
log
command
=
python
-
u
scripts
/
msg_dumper
.
py
-
l
127
.
0
.
0
.
1
-
p
%(
ENV_MONITORING_LIGIER_PORT
)
s
-
f
logs
/
MSG
.
log
priority
=
200
stdout_logfile
=
logs
/%(
program_name
)
s
.
out
.
log
stderr_logfile
=
logs
/%(
program_name
)
s
.
err
.
log
...
...
@@ -169,6 +174,10 @@ priority=500
programs
=
royfit
,
time_residuals
priority
=
999
[
group
:
calibration
]
programs
=
k40
priority
=
999
;
The
[
include
]
section
can
just
contain
the
"files"
setting
.
This
;
setting
can
list
multiple
files
(
separated
by
whitespace
or
;
newlines
).
It
can
also
contain
wildcards
.
The
filenames
are
...
...
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