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
CSV of scenarioviewer data #65
Comments
Implementing this change will modify the VEScenario module. Note that VEScenario includes the whole HTML/Javascript apparatus for the sample viewer (and consequently, the one that is present in the root VisionEval folder is a snapshot). There's an opportunity to do some things to the HTML (treating the baseline code as a modifiable template) to improve responsiveness and configurability of the models. |
Since the scenario viewer runs in a webpage, the HTML/Javascript standards prohibit web apps from saving files. This is important for security purposes, otherwise malicious web apps could do a lot more harm than they otherwise would do. What the user can do is just highlight and copy the cells in the filtered table and then paste into a spreadsheet. Longer term, to implement a saving mechanism I can think of the following options:
|
The goal is not to have the scenario viewer application save the data, but rather to generate it in parallel the JSON parts of the Scenario Viewer (so in addition to dumping a JSON file with the data for the viewer, it dumps a .csv file with the raw data). That should be pretty painless. In the medium-to-long term, I'd like to develop a layered architecture for accessing data so that it is easy for someone to drop the results into a new output format. I'd also like to revisit the HTML viewer with the intent of making it easier for a user to customize for their own purposes. |
Simple solution closed by PR #77 |
Can a CSV file be created of the data displayed in the scenarioviewer? Perhaps automatically created in /outputs/ folder when the multirun model runs are competed.
ie. one row for each scenario, one column for each viewer output distribution metric.
The text was updated successfully, but these errors were encountered: