An automated routing methodology to enable direct rainfall in high resolution shallow water models