A mobile agricultural sprayer (100) is disclosed. The sprayer (100) is configured to spray a substance along a worksite (200) and comprises a frame; a spraying system (124) that sprays the substance; at least one sensor (224) configured to generate a signal indicative of a temperature inversion at the worksite (200); an inversion detection system (450) configured to detect a presence of the temperature inversion at the worksite (200) based on the sensor signal, and, based on the detected presence, generate a temperature inversion output indicative of the presence of the temperature inversion; and an action signal generator (410) configured to receive the temperature inversion output from the inversion detection system (450), and, based on the received temperature inversion output, generate an action signal. Furthermore a computing system for use in a mobile agricultural sprayer (100) is disclosed in more detail as well as a computer-implemented method of detecting a presence of a temperature inversion.