Application of an early warning system for heavy rainfall