Jaguar S-Type R - Damp affecting sensors on a 2002 Jaguar S Type R - transamtwo

I have a 2002 Jaguar S Type R, I have an intermittent problem with damp affecting the sensors mainly "Restricted Performance" In damp conditions when starting the vehicle from cold the "restricted performance" warning display appears. Drive the vehicle 4 or 5 miles, switch off the engine for two minutes. Restart and the warning sign disappears. Any suggestions/thoughts appreciated.