Closed zackAemmer closed 2 years ago
Took a pass through the changes. Everything should be addressed except for the one regarding the data mapping moving to plots.py. For testing: I currently just run the notebooks with different parameters and make sure the outputs in each notebook aren't weird. I can write up some actual tests but that may take longer than just today.
Made figure filenames customized to the mode of interest, changed scaffolding function to be more general and allow argument to add mode of interest text if desired.
All of the following were generated by using generate_plots.py, with the caveat that the replaced mode of interest must be hardcoded to "pilot_ebike" until the database is retroactively updated (otherwise no data loads). The config used is stage-program, using a study config will also fail an assertion since the data currently has replacement labels regardless of study/program.
energy_calculations: sketch_all_mode_CO2impact_2021_11_prepilot.txt
generic_metrics: ntrips_per_day_2021_11_prepilot.txt
mode_specific_metrics: average_miles_replaced_mode_2021_11_prepilot.txt
generic_timeseries: ts_energy_user_2021_11_prepilot.txt
mode_specific_timeseries: ts_pilot_ebike_trips_proportion_2021_11_prepilot.txt
https://github.com/e-mission/e-mission-docs/issues/781