The representation of soil moisture freezing and its impact on the stable boundary layer