case_reader_base.py

class openmdao.recorders.case_reader_base.CaseReaderBase(filename)[source]

Bases: object

The Abstract base class of all CaseReader implementations.

Args:

filename : str

The name of the file from which to instantiate the case reader.

Attributes

format_version (int) An integer representation of the format version in the recorded file.
filename (str) The name of the file from which the recorded cases are to be loaded.
parameters (dict) Parameters metadata from the cases.
unknowns (dict) Unknowns metadata from the cases.
num_cases (int) The number of cases contained in the recorded file.
get_case(case_id)[source]
Returns:

Case

The case from the recorded file with the given identifier or index.

list_cases()[source]

Return a tuple of the case string identifiers available in this instance of the CaseReader.