One of the important topics in oceanography is the prediction of ocean circulation. The goal of data assimilation is to combine the mathematical information provided by the modeling of ocean dynamics with observations of the ocean circulation, e.g. measurements of the sea surface height (SSH). In this paper, we focus on a particular class of extended Kalman filters as a data assimilation method: nudging techniques, in which a corrective feedback term is added to the model equations. We consider here a standard shallow water model, and we define an innovation term that takes into account the measurements and respects the symmetries of the physical model. We prove the convergence of the estimation error to zero on a linear approximation of th...