-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Migrate to GTFS-rt predictions and locations feeds * PR feedback * simplify abstraction * Update .envrc.template Co-authored-by: Brett Heath-Wlaz <[email protected]> * Filter out past departures and adjust last trip filtering * Remove some references to RTR * Move route_id check to a shared helper * Log prediction details for terminal predictions * add inspects * add inspect * fix typo * only log when seconds til boarding is under terminal brd seconds * Add some logging to stops after terminals * Try adding a buffer to account for potential latency between RTR and concentrate * Log more details * Log stopped_at_predicted_stop * increase buffer to account for negative departures * Account for skipped predictions when calculating seconds_until_passthrough * Add filter for determining if prediction has passed * Remove extra logging * read passthrough_time field directly * oops forgot the actual variable * don't fiter out passthroughs * use the right field * remove stops_away * Remove required concentrate urls from envrc template --------- Co-authored-by: Brett Heath-Wlaz <[email protected]>
- Loading branch information
1 parent
f9909ac
commit 9d5d608
Showing
11 changed files
with
125 additions
and
273 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.