Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
segment speeds
loop_or_inlining==1
shapes), finish up rest of workflow to get speedsloop_or_inlining==0
shapes. we can't ignore these.pct_segment_covered < 30%
(if it has 1 point, the segment would have had zerometers_elapsed
, because the same point would have been chosen for first and second point within segment).vp_idx
. if we're close to the origin and there's no previous point, choose the followingvp_idx
, and use absolute value for the distance and time calculation.prior_vp_idx
could take place on a separate segment.shapely.project
and hit the entire shape geometry, we risk getting erroneousshape_meters
calculated. no way to know if it's projecting onto the inbound vs outbound portion.flag_recalculated
column to track whether the speed was calculated again with straight distanceavg_speeds
script to remove thepct_segment
argument. it now appears in an earlier step.map_partitions
way of calculating? test a full run in oct to see how long it's taking, now that we swapped some steps, see how it's shaking outloop_or_inlining
flag