In normal installations panels are usually installed on rails, lifting them up from the roof. A little air space under the panels helps somewhat in cooling the panels (and increasing the output). In addition, if microinverters are used there needs to be room for them under the panels. So... there would be plenty of room to clear the metal ridges on the roof.