Internal structure of the Martian south polar layered deposits