Skip to content
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

SEPTA API Bug: Zombie Trains #22

Open
dmuth opened this issue Apr 12, 2016 · 0 comments
Open

SEPTA API Bug: Zombie Trains #22

dmuth opened this issue Apr 12, 2016 · 0 comments
Assignees
Labels

Comments

@dmuth
Copy link
Owner

dmuth commented Apr 12, 2016

I saw this tonight:

https://www.septastats.com/train/9212
image

At first, it looked like a train was horribly late. But while digging around in the data, something didn't look right, as the train had been in that state for HOURS.

I then looked at the schedule for the Newark Line (http://www.septa.org/schedules/rail/w/WIL_1.html) and saw that the train was scheduled to arrive at Temple University over 12 hours prior!

My next step was to check SEPTA's API, and well... this happened:

$ curl -s http://www3.septa.org/hackathon/TrainView/ |jq .[21]                                                                                                                                                                                                      
{
  "lat": "39.89061",
  "lon": "-75.30364",
  "trainno": "9212",
  "service": "LOCAL",
  "dest": "Temple U",
  "nextstop": "University City",
  "late": 38,
  "SOURCE": "Newark",
  "TRACK": "",
  "TRACK_CHANGE": ""
}

So it looks like we have a "zombie train". For whatever reason a train failed to finish its journey, but still shows up on the API as being in service.

Once I get a contact a at SEPTA, I'll be sure to let them know about this particular failure mode.

@dmuth dmuth self-assigned this Apr 12, 2016
@dmuth dmuth added the bug label Apr 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant