Fixed date format and added it and scan_averages to hdf5