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

Time-Space Diagrams automatically to S3 #993

Merged
merged 6 commits into from
Jul 8, 2020
Merged

Conversation

liljonnystyle
Copy link
Collaborator

Pull request information

  • Status: ready to merge
  • Kind of changes: new feature

Description

Allow time-space diagrams to be plotted automatically with each submission, uploading to S3 if --to-aws flag is set.

Copy link
Collaborator

@brentgryffindor brentgryffindor left a comment

Choose a reason for hiding this comment

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

There is a minor error with the key name. Otherwise looks good to me.

@@ -241,5 +243,8 @@ def rl_actions(*_):
'fact_vehicle_trace/date={0}/partition_name={1}/{1}.csv'.format(cur_date, source_id),
trajectory_table_path,
{'network': metadata['network'][0], 'is_baseline': metadata['is_baseline'][0]})
upload_to_s3('circles.data.pipeline',
'time_space_diagram/date={0}/partition_name={1}/{1}.csv'.format(cur_date, source_id),
Copy link
Collaborator

Choose a reason for hiding this comment

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

the S3 key for the diagram should have .png at the end here

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

ah thanks!

@liljonnystyle liljonnystyle merged commit 5b7e8b2 into i210_dev Jul 8, 2020
@liljonnystyle liljonnystyle deleted the jl-tsd-to-s3 branch July 8, 2020 18:45
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.

2 participants