Rain pattern detection by means of packet wavelets