fields.buffers.core.HDF5Buffer.flush#

HDF5Buffer.flush()[source]#

Flush any buffered data to disk without closing the file.

This method ensures that any pending write operations are committed to the backing HDF5 file. It is safe to call multiple times and does nothing if the file is read-only or already closed.

This is useful in long-running operations where intermediate data should be saved but the file should remain open.

See also

close

For final closure of the file.