Is there a way to identify group names in an H5 file programmatically without using h5info?
I am working with large (0.5-2 GB) and complex h5 data files and trying to identify the high level group names in the files. The names of the groups change for each file, so I need to be able to programmatically identify them. Below the high level of groups, the file structure is consistent, so I can efficiently use h5read once I have these 5-10 group names. Using hdf5info works, but is very slow because it is scanning the entire file and giving me much more metadata than I really care about (each high level group has thousands of nested lower level groups/datasets/attributes). The MATLAB recommended h5info is much slower for some reason. In fact, I have never actually let it run to completion, usually giving up after half an hour.
I have also tried setting the "ReadAttributes" bool to FALSE which for some reason made hdf5info take even longer to run. Is there a more efficient way to identify only the top level of group names in the h5 file?
Thanks,I am working with large (0.5-2 GB) and complex h5 data files and trying to identify the high level group names in the files. The names of the groups change for each file, so I need to be able to programmatically identify them. Below the high level of groups, the file structure is consistent, so I can efficiently use h5read once I have these 5-10 group names. Using hdf5info works, but is very slow because it is scanning the entire file and giving me much more metadata than I really care about (each high level group has thousands of nested lower level groups/datasets/attributes). The MATLAB recommended h5info is much slower for some reason. In fact, I have never actually let it run to completion, usually giving up after half an hour.
I have also tried setting the "ReadAttributes" bool to FALSE which for some reason made hdf5info take even longer to run. Is there a more efficient way to identify only the top level of group names in the h5 file?
Thanks, I am working with large (0.5-2 GB) and complex h5 data files and trying to identify the high level group names in the files. The names of the groups change for each file, so I need to be able to programmatically identify them. Below the high level of groups, the file structure is consistent, so I can efficiently use h5read once I have these 5-10 group names. Using hdf5info works, but is very slow because it is scanning the entire file and giving me much more metadata than I really care about (each high level group has thousands of nested lower level groups/datasets/attributes). The MATLAB recommended h5info is much slower for some reason. In fact, I have never actually let it run to completion, usually giving up after half an hour.
I have also tried setting the "ReadAttributes" bool to FALSE which for some reason made hdf5info take even longer to run. Is there a more efficient way to identify only the top level of group names in the h5 file?
Thanks, hdf5, h5, hdf5info, h5info, data, data import MATLAB Answers — New Questions