The method of dynamic mode decomposition in shallow water and a swirling flow problem. (16th June 2016)