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

Clean up segment speeds methodology and refactor trip speeds and route speeds #946

Merged
merged 16 commits into from
Nov 7, 2023

Conversation

tiffanychu90
Copy link
Member

@tiffanychu90 tiffanychu90 commented Nov 7, 2023

segment speeds

  • Cleanup: remove scripts related to sjoin methodology
  • Deprecate no longer used functions in segment_speed_utils
  • Refactor: avg_speeds, trip_speeds and route_speeds. p20, p50, p80 quantiles are too slow to calculate in pandas, switch to numpy
  • Weave trip_speeds and route_speeds into existing avg_speeds and export scripts instead of 2 standalone scripts afterwards
  • Leave the cut_stop_segments alone for now, see if new ideas pop up once we move to road segments
  • New pipeline from nearest_vp to export takes roughly 30 min Research Request - Performant vp -> speeds with interpolation method #939
  • Backfill Mar-Oct speeds parquets in GCS
  • Epic - Daskify RT segment speeds #592

road segments

  • add segment origin and destination to road segments. analogous to stops along shapes are origin/destination/cutpoints along road segments

Copy link

github-actions bot commented Nov 7, 2023

nbviewer URLs for impacted notebooks:

4 similar comments
Copy link

github-actions bot commented Nov 7, 2023

nbviewer URLs for impacted notebooks:

Copy link

github-actions bot commented Nov 7, 2023

nbviewer URLs for impacted notebooks:

Copy link

github-actions bot commented Nov 7, 2023

nbviewer URLs for impacted notebooks:

Copy link

github-actions bot commented Nov 7, 2023

nbviewer URLs for impacted notebooks:

@tiffanychu90 tiffanychu90 merged commit 9fe222f into main Nov 7, 2023
7 checks passed
@tiffanychu90 tiffanychu90 deleted the speeds-on-roads branch November 7, 2023 23:27
Copy link

github-actions bot commented Nov 7, 2023

nbviewer URLs for impacted notebooks:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant