gwexpy.interop.hdf5_

Functions

from_hdf5(cls, group, path)

Read TimeSeries from HDF5 group.

to_hdf5(ts, group, path[, overwrite, ...])

Write TimeSeries to HDF5 group.

gwexpy.interop.hdf5_.to_hdf5(ts: TimeSeries, group: h5py.Group, path: str, overwrite: bool = False, compression: str | None = None, compression_opts: Any = None) None[source]

Write TimeSeries to HDF5 group. wrapper for ts.write(…, format=’hdf5’) usually, but here we implement direct low-level if strict control is needed, OR delegate.

gwexpy.interop.hdf5_.from_hdf5(cls: Type[T], group: h5py.Group, path: str) T[source]

Read TimeSeries from HDF5 group.