HDF5 Utilities (gwpy.io.hdf5)#

Write GWpy objects to HDF5 files.

Functions#

create_dataset(parent, path, *[, overwrite])

Create a new dataset inside the parent HDF5 object.

find_dataset(h5o[, path])

Find and return the relevant dataset inside the given H5 object.

identify_hdf5(origin[, filepath, fileobj])

Identify an HDF5 file based on its signature.

open_hdf5(source[, mode])

Open a h5py.File from disk, gracefully handling corner cases.

with_read_hdf5(func)

Decorate an HDF5-reading function to open a filepath if needed.

with_write_hdf5(func)

Decorate an HDF5-writing function to open a filepath if needed.