similar scripts to the isomap data to h5 script