Data stream reduction via functional time series analysis