Two oolites in the Dinantian (Mississippian/Lower Carboniferous) of Glamorgan, SW Britain, were deposited in similar depositional environments but have contrasting diagenetic histories. The Brofiscin and Gully Oolites occur in the upper parts of shallowing-upward sequences, formed through strandplain progradation and sand shoal and barrier growth upon a southward-dipping carbonate ramp. The Brofiscin Oolite is characterized by a first-generation cement of equant calcite spar, preferentially located at grain-contacts and forming non-isopachous fringes around grains, interpreted as meteoric vadose and phreatic in origin. Isopachous fibrous calcite fringes of marine origin are rather rare and occur only at a few horizons. Burial compaction was not important and porosity was occluded by poikilotopic calcite spar. Fitted grain-grain contacts locally occur and could be the result of near-surface vadose dissolution-compaction. Syntaxial overgrowths on echinoderm debris are common. Pre-compaction overgrowths are cloudy (inclusion-rich) and probably of meteoric origin, and post-compaction overgrowths are inclusion-free. By contrast, the Gully Oolite has little first-generation cement. However, marine fibrous calcite is common in oolitic intraclasts, as isopachous fringes of acicular calcite crystals closely associated with peloidal internal sediment; and early equant, drusy calcite spar occurs in the uppermost part of the Gully, beneath a prominent palaeokarst where pedogenic cements also occur. The major feature of Gully diagenesis is burial compaction, resulting in extensive grain-grain dissolution and microstylolitic grain contacts, and post-compaction poikilotopic spar occluded remaining porosity.

The Brofiscin Oolite is pervasively dolomitized up-dip but the Gully Oolite for the most part only contains scattered pre-compaction dolomite rhombs and late veins of baroque dolomite, with less pervasive dolomitization.

The difference in diagenetic style of the two Dinantian oolites is attributed to prevailing climate. The paucity of early meteoric cements in the Gully is a result of an arid climate, and this is supported by the nature of the capping palaeokarst. The abundant meteoric cements in the Brofiscin reflect a more humid climate, and effective meteoric recharge also resulted in up-dip pervasive mixing-zone dolomitization. The style of early diagenesis in these two oolites exerted a major control on the later burial diagenesis: in the Brofiscin, the early cements inhibited grain-grain dissolution and pressure solution, while these processes operated extensively in the Gully Oolite. Thus, prevailing climate can influence a limestone's diagenetic history from near-surface through into deep burial.