GenericCheckpointStore.from_hdf#

classmethod GenericCheckpointStore.from_hdf(source_filename: Path, dest_filename: Path, mode: str = 'a') CheckpointStore#

Create a new checkpoint store from an existing HdfStore.

Parameters:
source_filenamepath-like

The filename of the source HDF5 checkpoint file. This file should be the output of an ActivitySim run (or constructed alike).

dest_filenamepath-like

The filename or directory where a new checkpoint storage will be created.

modestr

The file mode used to open the destination. Must not be a read-only mode or this operation will fail.

Returns:
CheckpointStore