h5_root_keys

ssapy.io.h5_root_keys(file_path)[source][source]

Retrieve the keys in the root group of an HDF5 file.

This function opens an HDF5 file and returns a list of keys (dataset or group names) located in the root group of the file.

Parameters:

file_pathstr

The path to the HDF5 file from which the root group keys are to be retrieved.

Returns:

list of str

A list of keys in the root group of the HDF5 file. These keys represent the names of datasets or groups present at the root level of the file.