Skip to content

Commit

Permalink
Travel time reports now written to data lake
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeJimFlood committed May 7, 2024
1 parent 6b1d301 commit 41a4265
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/main/python/datalake_exporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,12 +224,16 @@ def write_to_datalake(output_path, models, exclude, env):
lake_file_name = "/".join(["abm_15_0_0",parent_dir_name,model,name+ext])
container.upload_blob(name=lake_file_name, data=data)

report_path = os.path.join(os.path.split(output_path)[0], 'report')

other_files = [
EMME_metadata["properties_path"],
os.path.join(output_path, 'skims', 'traffic_skims_MD.omx'),
os.path.abspath(os.path.join(output_path, '..', 'input', 'zone_term.csv')),
os.path.join(output_path, 'bikeMgraLogsum.csv'),
os.path.join(output_path, 'microMgraEquivMinutes.csv')
os.path.join(output_path, 'microMgraEquivMinutes.csv'),
os.path.join(report_path, 'walkMgrasWithin45Min_AM.csv'),
os.path.join(report_path, 'walkMgrasWithin45Min_MD.csv')
]
for file in other_files:
try:
Expand Down

0 comments on commit 41a4265

Please sign in to comment.