view_cases.py#

Code for generating a dashboard for case recorder files.

openmdao.recorders.view_cases.variable_metadata_to_data_frame(variables_metadata)[source]

Prep the metadata for DataFrame displayed by Panel’s Tabulator widget.

Parameters:
variables_metadatadict of dicts

The metadata of variables.

Returns:
DataFrame

DataFrame containing the information about the variable metadata as a table.

openmdao.recorders.view_cases.view_cases(case_recorder_file, show=True)[source]

View the contents of a case recorder file as a dashboard.

Parameters:
case_recorder_filestr

The path to the case recorder file to view.

showbool

If True, show the dashboard. If False, do not show. Mostly for running tests.