Pilot early warning system for debris flow and floods