The weirdest part from the outside: reliably detecting it's raining should have obvious positive impact on the driving side as well. For instance to better interpret the tires slipping, or even anticipate worse precision from some of the sensors.
You do not want to start making handling adjustments based on rain on the windshield, when the road could already be slick from prior rainfall or other conditions.