Towards regional assimilation of Lagrangian data: the Lagrangian form of the shallow water model and its inverse