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

More efficient merge of land use into choosers on trip destination. #11

Closed
wants to merge 7 commits into from

Conversation

jpn--
Copy link
Member

@jpn-- jpn-- commented May 2, 2024

Closes #10 (makes trip destination work with Sharrow).

  • Adds ALTS_ATTRIBUTES_SAMPLING to trip destination config.
  • Adds new extension to annotate the land_use_taz table, to add the column we need.

This PR also replaces the ".zip" reference pipeline with an unzipped equivalent. We lose the compression of the zip archive, but we get the ability to see and fix small changes in the pipeline without replacing the entire pipeline binary file. For instance, this PR adds a new column to the land_use_taz table, but makes no other changes anywhere else.

This PR requires ActivitySim/activitysim#862

@jpn-- jpn-- requested a review from dhensle May 2, 2024 02:21
Copy link
Contributor

@dhensle dhensle left a comment

Choose a reason for hiding this comment

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

I am not convinced this is the best solution... Can't we instead just create an alts preprocessor for trip destination? This would allow us to just do whatever merging we want with the landuse table, similar to what we did for the vehicle type model in ActivitySim/activitysim#806. Then we can get rid of an additional extension for the sandag model and all of the ALTS_ATTRIBUTES_SAMPLING code (ie ActivitySim/activitysim#862) needed to support this.

I do not expect that this will be the only model where we will want to do merging of this kind either. Having a separate extension that needs to get passed around will make this a hassle in the future.

@jpn--
Copy link
Member Author

jpn-- commented May 6, 2024

Closed in favor of #13

@jpn-- jpn-- closed this May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Trip Destination needs to work with sharrow
2 participants