The changes (diagenesis) that take place in marine carbonate sediments buried at a shallow depth when they are exposed to meteoric water. These usually involve dissolution, as acid water dissolves aragonite, followed by precipitation, mainly of calcite, as the water becomes saturated with respect to CaCO3, and the formation of soils, especially caliche.