Skip to content

Conversation

@yueshuaing
Copy link
Collaborator

This PR updates all MAZ data references in tm2py-utils to the landuse_file parameter from the scenario configs, removes redundant/unused methods that referenced the outdated MAZ input, and fixes minor bugs in the transit summaries.

if "level_0" in names_df.columns:
names_df = names_df.drop(columns=["level_0", "index"])
names_df = names_df.drop(columns=["level_0", "index"]).drop_duplicates()
station_list = names_df.boarding.astype(str).unique().tolist()
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@lmz, @Ennazus, not sure we should convert boarding nodes to strings here. My i_node/j_node come in as numeric. Converting to str makes access_df empty. What dtypes are you seeing locally? If this is a version issue on my side.

@yueshuaing
Copy link
Collaborator Author

@lmz @Ennazus, I’ve completed the review and update of the MAZ data reference in tm2py-utils. Many of the zone-related issues I saw previously are now addressed by your recent commits—thank you! The final change is to remove the maz_landuse_file parameter entirely from scenario_config.toml. Could you please point me to where your scenario_config.toml is saved?

@yueshuaing yueshuaing requested review from Ennazus and lmz October 17, 2025 18:23
@Ennazus
Copy link
Collaborator

Ennazus commented Oct 17, 2025

Great! Our working scenario_config is here https://github.com/BayAreaMetro/tm2py-utils/blob/main/tm2py_utils/config/2023-tm22-dev-version-05/scenario_config.toml ; I'll test the changes on my end from this branch (do a single iteration)- when you've made the update, then prune this branch. Thanks!

@yueshuaing yueshuaing marked this pull request as ready for review October 17, 2025 19:09
@yueshuaing
Copy link
Collaborator Author

Great! Our working scenario_config is here https://github.com/BayAreaMetro/tm2py-utils/blob/main/tm2py_utils/config/2023-tm22-dev-version-05/scenario_config.toml ; I'll test the changes on my end from this branch (do a single iteration)- when you've made the update, then prune this branch. Thanks!

Done, this PR is ready for merge.

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.

3 participants