How to open .out files with c++ using HDF5

133 views
Skip to first unread message

David Schriebman

unread,
May 17, 2022, 8:43:37 PM5/17/22
to gprMax-users
Hello,

I've manged to install HDF5 and figured out all the manual stuff to get it to work, but I'm having an issue opening the .out file produced by gprMax.
I can open files that are generated with the H5Dcreate2 command, but not files that are created with gprMax
Using the command H5Dopen2, as seen in the HDF5 examples, what should I put in the 'name' field to open a .out file from gprMax? Everything I try throws a 'major:dataset' 'minor:can't open object' error.
Thanks.

Craig Warren

unread,
May 19, 2022, 8:20:20 AM5/19/22
to gprMax-users
Hi David,

I have no experience of using C libraries to read HDF5 files. We have used Python (h5py), MATLAB and HDFView (https://www.hdfgroup.org/downloads/hdfview/) to read gprMax output files successfully.

Maybe others on the forum have tried the C library and can assist.

Kind regards,
Craig

David Schriebman

unread,
Feb 14, 2023, 2:57:46 PM2/14/23
to gprMax-users
Bump. Still no resolution on this issue:
Does anyone know what to put in the 'name' field to open a .out file from gprMax using H5Dopen2?
Thanks.
Reply all
Reply to author
Forward
0 new messages