-
Notifications
You must be signed in to change notification settings - Fork 3
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
Commuter Rail missing stops #65
Comments
I spent a little time monitoring raw API data from some random midday trips into the CR terminals. Here's one inbound trip on the Needham line as it approaches South Station:
Then it disappears without ever giving us a This trip, at least, gave us GPS data well into the yard and basically up to the platform. Based on this single observation, I think we could fill in arrival events for terminals by looking for updates from the API that are:
The current event loop is structured around events that are there, not missing events, so there's a possibility we'll need to add another kind of interrupt that proactively purges the trips state when a trip hasn't been heard from in a while. As part of that process, we could examine the final handful of events it gave us and see whether we think we can fill in a terminal arrival event. I'm less confident that we can accurately fill in events at random stations along the line, but a similar approach might work there, too. |
When looking at the commuter rail data collected by stop, we seem to be missing several inbound and outbound stops
https://github.com/transitmatters/t-performance-dash/blob/d5913dd893bf29bb419868632ce60681f5a2615f/common/constants/cr_constants/cr-fairmount.json
It seems especially true for end of lines, but not exclusively
https://github.com/transitmatters/t-performance-dash/blob/d5913dd893bf29bb419868632ce60681f5a2615f/common/constants/cr_constants/cr-worcester.json
Is the issue on our end or the MBTA side?
(note that these lists are generated based off the list of stops gobble puts in s3)
The text was updated successfully, but these errors were encountered: