Closed tiffanychu90 closed 2 months ago
Thanks for this @tiffanychu90!
About to head off on vacation, but looking forward to digging into this in the second half of July.
I wonder if it would be helpful to define a small suite of "known trips" from rt_delay
calculations (perhaps even including manual verification), that could then be a test set for accuracy. Could even start with the BBB trips you've already looked at, then add a few more covering different route typologies.
@edasmalchi: Aiming to check in a notebook for BBB early next week, post aligning to before/after a stop, and incorporating dwell time too (which gets me closer to "after the bus leaves the stop" compared to "before the bus arrives at the next stop") + existing interpolation method, so that will align the methodology in those steps first.
Complete the below when receiving a research request, and continue to add to this issue as you receive additional details and produce deliverables. Be sure to also add the appropriate project-level label to this issue (eg gtfs-rt, DLA).
Research Question
Single sentence description: Compare the 2 or 3 nearest neighbor vehicle positions selected for speedmaps under Eric's
rt_analysis
and mygtfs_segments.nearest_snap
.592
rt_analysis
modules in #1122Detailed description: Reworked nearest neighbor methodology looks roughly like:
vp_coords_trio
)point1-point2
orpoint2-point3
, and the interpolated position occurs there. If it's out of bounds, then it's either pinned topoint1
orpoint3
.stop_meters
relative to previous stop and subsequent stopQuestions / Decision Points
stop_meters
, so....the speed would be probably forced downward?20th percentile vs 80th percentile
speedsDeliverables
Notebooks