This sort of sensor is commonly used in industries where contact with the liquid is impractical, unwanted or maintenance intensive. Air bubbler systems are a sensible choice for open tanks at atmospheric strain and may be built so that high-tension air is routed through a bypass valve to dislodge solids https://controltechme.com/ultrasonic-level-sensor/