I know that the first element is the channel name and the second element is the timestamp and the rest are data points. But what are these data points? Why are they so many? What do they mean?
Sorry but I’m finding it hard to search for explanations regarding this.
1 Like
You can read more about our UDP data format here:
And if you need inspiration for what can be done with UDP data, I maintain an open source python program called rsudp that can do a whole bunch of useful stuff with obspy and other software:
1 Like
Yes I’ve read this https://manual.raspberryshake.org/udp.html#output-format. But I don’t see any information what are these data points.
Basically:
- First string is the channel code (
'EHZ'
or 'SHZ'
or other channel codes)
- Second object is the floating point timestamp in seconds since 1970-01-01
- All subsequent objects are integer data points measured in voltage counts, same as you see in SWARM. For SHZ instruments, there are 50 of these per second (50 per packet). For all other instruments (EH*, HDF, EN*) there are 100 of these per second and 25 per packet.
Voltage counts are a direct measurement of the voltage on the geophone circuit and must be deconvolved in order to display in metric units. Luckily obspy has a really easy way to deconvolve using the remove_response()
function.
Does that answer your question?