hpcflow.sdk.persistence.array_output_sources#

Bounded-memory access to live, legacy, and indexed array-output sources.

Functions

normalize_metadata

Range-check IDs before converting signed legacy metadata to uint32.

open_array_output_source

Keep only metadata and individual entries in RAM, spilling legacy NPZs to disk.

Classes

ArrayOutputBuffer

Expose the seekable interface ZipFile needs on Python 3.10.

ArrayOutputSource

ArrayOutputSource(metadata: 'dict[str, np.ndarray]', shapes: 'np.ndarray', dtype: 'np.dtype', _read_entry: 'Callable[[int], np.ndarray]', entry_order: 'np.ndarray')