Shallow-water flow past isolated topography. Part I: Vorticity production and wake formation