Latent heat effects in subsurface heat transport modelling and their impact on palaeotemperature reconstructions