-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ringserver fails to serve data after a packet timestamp goes backwards in time #49
Comments
More info that might help troubleshooting:
So now I'm doubting whether this was related to a GPS unlock, or just the order of arrival of packets to the ringserver. Any ideas?
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm using Earthworm ew2ringserver to stream MiniSEED packets to ringserver. The data source uses a GPS disciplined clock. Due to poor visibility of the sky, the GPS receiver sometimes looses lock and remains unlocked for a period of time. During this time, the local clock drifts. When the GPS reacquires lock, it causes a timestamp discontinuity where a packet timestamp jumps slightly backwards in time. This makes ringserver unable to serve any data packets that occur after this point, when requesting packets that cover some time window.
To recover I have to kill ringserver, remove the ring data files, and restart it. (It might possibly recover on its own after the ring wraps around and overwrites the old packets, but I haven't verified this).
Attached is a script that demonstrates the problem. Tested with slinktool and Obspy SeedlinkClient. In both cases the ringserver fails to provide any data after the point where it received a data packet with a timestamp that went ~2 seconds backwards in time. See the comments in the script for details.
test_case1.txt
The text was updated successfully, but these errors were encountered: