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

Rerun build script for sites with invalid desire lines #179 #181

Merged
merged 1 commit into from
Jul 19, 2021

Conversation

natesheehan
Copy link
Contributor

  • Changes to build script to filter sites (this could do with some more work, I will create separate issue for this as its gonna be a big refactor)
  • R.Utils library added to project to gunzip abstr procgen houses, as the R system command was not working

- Changes to build script to filter sites (this could do with some more work, I will create another ticket)
- R.Utils library added to project to gunzip abstr procgen houses
6-10,16,86,72,1,1,70,14,1,6,65,14,1,1,81,16,1,7,76,16
10-15,37,203,137,2,2,133,65,1,4,132,65,1,1,66,32,0,2,65,32
15-20,10,55,46,1,0,46,9,1,0,46,9,2,0,84,16,2,0,84,16
0-3,12,66,55,16,2,37,11,18,17,20,11,24,3,56,17,27,26,30,17
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good, great to see those extra trips in there.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Quick question for you @natesheehan, what is causing the changes here?

Copy link
Contributor Author

@natesheehan natesheehan Jul 19, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Robinlovelace
distance_band,proportion_in_distance_band,all,trimode,walk_base,cycle_base,drive_base,other_base,walk_goactive,cycle_goactive,drive_goactive,other_goactive,percent_walk_base,percent_cycle_base,percent_drive_base,percent_other_base,percent_walk_goactive,percent_cycle_goactive,percent_drive_goactive,percent_other_goactive

If any of the above were calculated using the desire_lines_few file then this is where the change would have occurred. The affected sites, all had invalid data structures for the town element of the OD dataframe so, I believe this is where the addition of trips is now coming in.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense and what I was thinking, only thing was some were going up and some down. Great fix in any case!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! But yes that sure is strange. First thoughts: the distance of the town affects the distribution of the total distance band? I can try rerun with a site that was not affected and see if there are any variances in mode split - as if so, I am assuming it's a deterministic issue?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can try rerun with a site that was not affected and see if there are any variances in mode split - as if so, I am assuming it's a deterministic issue?

That's a good plan. It could be because the OSM network or routing services have changed but the main thing is total counts. If you do a basic sanity check to see things add-up, unlike in #100, that would be greatly appreciated.

@Robinlovelace Robinlovelace merged commit c4be230 into main Jul 19, 2021
@Robinlovelace Robinlovelace deleted the rebuild-for-sites-with-invalid-desire-lines branch July 19, 2021 14:59
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.

2 participants