raspishake / rsudp

Continuous visual display, sudden motion monitoring, and historical replay of Raspberry Shake data
https://raspishake.github.io/rsudp/
GNU General Public License v3.0
55 stars 32 forks source link

C_Write not writing seedlink #2

Closed urbanspectrum closed 4 years ago

urbanspectrum commented 4 years ago

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 commented 4 years ago

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)

urbanspectrum commented 4 years ago

Cool deal appreciate your time.

iannesbitt commented 4 years ago

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.