Skip to content

Adding agent for the Lightning Detector#640

Merged
BrianJKoopman merged 18 commits intomainfrom
ld_monitor
Jan 6, 2025
Merged

Adding agent for the Lightning Detector#640
BrianJKoopman merged 18 commits intomainfrom
ld_monitor

Conversation

@felipecarrero
Copy link
Contributor

@felipecarrero felipecarrero commented Mar 12, 2024

Created an agent for the lightning detector that recieves data through the local network via UDP.

Description

The agent opens a socket and binds a port (1110) then receives packages sent by the lightning detector, parses them into a dictionary and publishes them to the agent feed.

Motivation and Context

No agent for the lightning detector exists.

How Has This Been Tested?

Testing carried out in daq-dev and monitoring through Grafana.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

Copy link
Member

@BrianJKoopman BrianJKoopman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR @felipecarrero! A few comments, questions, and requests below. Happy to discuss any of these in person too.

Copy link
Member

@BrianJKoopman BrianJKoopman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just checking in on this. One small comment the changes, but then also still need the docs page for this agent. Anything I can do to help with that?

@BrianJKoopman BrianJKoopman self-requested a review May 7, 2024 04:26
@BrianJKoopman BrianJKoopman added the new agent New OCS agent needs to be created label Oct 3, 2024
Copy link
Member

@BrianJKoopman BrianJKoopman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is ready to go, just waiting for checks to pass.

@BrianJKoopman BrianJKoopman merged commit cbc41cf into main Jan 6, 2025
4 checks passed
@BrianJKoopman BrianJKoopman deleted the ld_monitor branch January 6, 2025 16:15
laurensaunders pushed a commit that referenced this pull request Feb 19, 2026
* Adding agent for the Lightning Detector

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Removed unused yaml library from code

* replaced match function to comply with python3.8

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Added modifications suggested by Brian Koopman

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* another set of minor corrections after BK's review

* final changes after PR review

* removed unused docstrings

* Function name modifications on agent, added .rst

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Move rst file into docs directory

* Add docs page to index

* Fix build warnings and format docs

* fixed bug when reading lightning strike sentences

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Brian Koopman <brian.koopman@yale.edu>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new agent New OCS agent needs to be created

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants