Open jbrzusto opened 6 years ago
Likely a consquence of receivng detections from VAH over a stream connection to a UNIX domain socket.
It would be better to use SOCK_DGRAM with a unix domain socket (which is reliable and doesn't re-order), but nodejs doesn't support this. Probably need to split data in vah.js::gotData
, just as we do in vah.js::gotCmdReply
, so that we only do Matron.emit(X)
with full lines for X. It's okay for multiple
lines to be sent at once, just not partial lines.
For now, fix data files.
This occurs with low frequency (35 instances out of 1.4M Cornell tag detections), but sometimes pulse records are interrupted by Cornell tag detection records. Why? e.g. in
AVFP-3214BBBK1004-000128-2017-06-06T20-58-13.8170P-all.txt.gz
we have this bold interloper: