Closed bstabler closed 4 years ago
PopulationSim currently includes a robust model step called input_pre_processor that does a great job handling CSV inputs. CSVs are read from the data folder and loaded as injected tables according to the input_table_list specified in the settings config.
We will move this step to the ActivitySim package then reimport to PopulationSim.
In ActivitySim, three components will be affected:
input_table_list
similar to the current PopulationSim feature.input_store
can still be used to specify an HDF5 input file.create_input_file
option will be added to build an HDF5 file from the input CSVs. This file can be used in subsequent model runs for faster load times.Additionally:
Instead of starting with an HDF5 file containing the following inputs:
We'll add them to the settings file and read them in via a new model step. The current script that does this outside of a formal activitysim run is at https://github.com/ActivitySim/activitysim/blob/shadow/scripts/mtc_inputs.py.