The ew2ringserver program collects TRACEBUF2 or TYPE_MSEED messages from an Earthworm ring and sends 512-byte miniSEED records to an IRIS ringserver SeedLink server.
For TRACEBUF2 messages, the data are buffered and packed into 512-byte
miniSEED records. For TYPE_MSEED messages, if the detected record
length is 512 bytes then it is forwarded to the ringserver unmodified;
otherwise it is ignored.
Due to the differences between Earthworm Tracebuf packet lengths and
miniSEED records, the program maintains a small internal buffer for
each time series. This allows the program to create full and efficient
miniSEED records, but also introduces a slight delay or latency in the
data transmission. The amount of delay depends on the sample rate of
the data and the compressability of the series. For most purposes it is
inconsequential.
For more information on the ringserver, visit: IRIS ringserver SeedLink server
For instructions on how to create a SeedLink server for Earthworm, visit: A SeedLink server for Earthworm