Associative memory of a dynamical system: the example of the convection instability