Attempt at a BNG to HDF5 parse script