I've been investigating the required changes to stream IQ data (antennas_iq or bfiq) data in realtime. It seems to me that the easiest way would be to serialize and stream the SliceData object and write to file on the receiver end with the HDF5Writer class. This is basically agnostic to whether we stream antennas_iq or bfiq data, and would require some small changes to data_write and realtime modules only in order to make it work.
Additionally, other than for redundancy purposes it would almost remove the need to write a local copy on the NAS for e.g. antennas_iq files. You could still do it, checksum the file, compare with the checksum of the file written by the receiver of the stream, and remove the radar copy if they match to cut down storage space. Obviously in an internet-down scenario (common up north) you would still want and need a local copy.
I've been investigating the required changes to stream IQ data (antennas_iq or bfiq) data in realtime. It seems to me that the easiest way would be to serialize and stream the
SliceDataobject and write to file on the receiver end with theHDF5Writerclass. This is basically agnostic to whether we stream antennas_iq or bfiq data, and would require some small changes to data_write and realtime modules only in order to make it work.Additionally, other than for redundancy purposes it would almost remove the need to write a local copy on the NAS for e.g. antennas_iq files. You could still do it, checksum the file, compare with the checksum of the file written by the receiver of the stream, and remove the radar copy if they match to cut down storage space. Obviously in an internet-down scenario (common up north) you would still want and need a local copy.