Pattern recognition in time series for space missions: A rosetta magnetic field case study. (March 2020)