Exploration of the course of the cap rock consisting mainly of gypsum and anhydrite and the underlying geological formations