rsudp.c_write (write data)¶
Write(q, debug=False, cha='all')¶
A simple routine to write daily miniSEED data to
Ticks self variables over into a new day for file naming purposes.
new (bool) – If
False, the program is starting. If
True, the UTC date just elapsed.
Reads data from the queue and updates the stream.
- Return type
Trueif stream is updated, otherwise
Reads packets and coordinates write operations.
Sets samples per second.
Causes the stream to slice down to the time the last write operation was made.
Writes a segment of the stream to disk as miniSEED, and appends it to the file in question. If there is no file (i.e. if the program is just starting or a new UTC day has just started, then this function writes to a new file).