Put in code to produce scan numbers from the time stamps of the visibilities.