Input dirty data; output clean time-series array.