Inverse 3D shallow water flow modelling of the continental shelf