index: put the date into h5.