The near-surface boundary layer over patchy snow is highly heterogeneous and dynamic. Layers of opposing stability coexist within only a few horizontal meters. Conventional experimental methods to investigate this layer suffer from limitations related to the fixed positions of eddy covariance sensors. To overcome these difficulties, we set up a centimeter-resolution large eddy simulation of flow across an idealised transition from bare ground to snow. We force the simulation with high-frequency eddy covariance data recorded during a field campaign. We show that the model can represent the real flow by comparing it to independent eddy covariance data. However, the simulation underestimates vertical wind speed fluctuations, especially at high frequencies. Sensitivity analyses show that this is influenced by grid resolution and surface roughness representation but not much by subgrid-scale parameterization. Nevertheless, the model can reproduce the experimentally observed plumes of warm air intermittently detaching from bare ground and being advected over snow. This process is highly dynamic, with time scales of only a few seconds. We can show that the growth of a stable internal boundary layer adjacent to the snow surface can be approximated by a power law. With low wind speeds, deeper stable layers develop, while strong wind speeds limit the growth. Even close to the surface, the buoyancy fluxes are heterogeneous and driven by terrain variations, which also induce the frequent decoupling of a thin layer adjacent to the snow surface. Our simulations point the path towards generalizing point-based and aerial measurements to three dimensions.