Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C_Write not writing seedlink #2

Closed
urbanspectrum opened this issue Nov 30, 2019 · 3 comments
Closed

C_Write not writing seedlink #2

urbanspectrum opened this issue Nov 30, 2019 · 3 comments
Assignees

Comments

@urbanspectrum
Copy link

Error on rsudp launch is new and will not write data to seedlink file

2019-11-30 19:23:29 [Producer] Receiving UDP data from 10.147.17.88
Exception in thread Thread-1:
Traceback (most recent call last):
File "/home/oem/miniconda3/envs/rsudp/lib/python3.7/threading.py", line 926, in _bootstrap_inner
self.run()
File "/home/oem/miniconda3/envs/rsudp/lib/python3.7/site-packages/rsudp/c_write.py", line 111, in run
self.elapse()
File "/home/oem/miniconda3/envs/rsudp/lib/python3.7/site-packages/rsudp/c_write.py", line 75, in elapse
self.newday = UTCDateTime(self.y, self.m, self.d + 1, 0, 0)
File "/home/oem/miniconda3/envs/rsudp/lib/python3.7/site-packages/obspy/core/utcdatetime.py", line 359, in init
dt = datetime.datetime(*args, **kwargs)
ValueError: day is out of range for month

is it possible to have one python script that reads the UDP stream and writes the miniseed files without having to plot the rest?

@iannesbitt
Copy link
Collaborator

iannesbitt commented Dec 1, 2019

Yes, this error was also reported here and is due to a careless mistake on my part.

You can turn off the plot by changing

"plot": {
    "enabled": true,

to

"plot": {
    "enabled": false,

in your settings file (probably in ~/.config/rsudp/rsudp_settings.json unless you're using a custom settings location)

iannesbitt added a commit that referenced this issue Dec 1, 2019
@iannesbitt iannesbitt self-assigned this Dec 1, 2019
@urbanspectrum
Copy link
Author

Cool deal appreciate your time.

@iannesbitt
Copy link
Collaborator

I'm closing this for now but if there are any issues let me know. I genuinely have no idea what will happen when a leap second is added.

dmitryint added a commit that referenced this issue Jan 11, 2025
* Add files via upload

Update adding filters, spectrogram range, and logarithmic y-axis features.

Changelog:
- in raspberryshake.py: 
-- updated FDSNWS URL
- in c_plot.py, client.py:
-- implemented filtering for both trace and spectrogram
-- implemented range display for spectrogram
-- implemented logarithmic y-axis
- in c_settings.py:
-- updated default settings & readability

* Move files to correct directory

---------

Co-authored-by: Giuseppe Petricca <58811927+gpetricca@users.noreply.github.com>
dmitryint added a commit that referenced this issue Jan 12, 2025
* Filters + other features #2 (#76)

* Add files via upload

Update adding filters, spectrogram range, and logarithmic y-axis features.

Changelog:
- in raspberryshake.py: 
-- updated FDSNWS URL
- in c_plot.py, client.py:
-- implemented filtering for both trace and spectrogram
-- implemented range display for spectrogram
-- implemented logarithmic y-axis
- in c_settings.py:
-- updated default settings & readability

* Move files to correct directory

---------

Co-authored-by: Giuseppe Petricca <58811927+gpetricca@users.noreply.github.com>

* Add refresh_interval  for Plot (#73)

* Try add refresh_interval  for Plot

* Merge develop

* Feature/timing alarm (#72)

* Update Alert class. + Add alert duration to Settings

- rework trigger logic.
- split _is_trigger to _is_trigger_with_timer and _is_trigger_without_timer
- rework old _is_trigger to _is_trigger_without_timer
- move alert activation and deactivation to separate methods
- add parameters for timer exceed timer

* update client - Add alert duration

* Update alert trigger starting message

* Update docs

* Add GH Actions for building docs + update doc -> default settings

* Move docs deps to requirements.txt

* Fix docs deps: remove Jinja2

* Docs: Add c_settings to menu

* Update docs

---------

Co-authored-by: Giuseppe Petricca <58811927+gpetricca@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants