Completed functionality to parse HDF5 header and add info to scandata.spec