case_reader.py#

CaseReader factory function.

openmdao.recorders.case_reader.CaseReader(filename, pre_load=True, metadata_filename=None)[source]

Return a CaseReader for the given file.

Parameters:
filenamestr or Path

A path to the recorded file. Currently only sqlite database files recorded via SqliteRecorder are supported.

pre_loadbool

If True, load all the data into memory during initialization.

metadata_filenamestr

For separate metadata from parallel runs, the metadata database filename.

Returns:
BaseCaseReader

An instance of a CaseReader.