Spatial simulation of snow and frozen ground using a modified temperature-based model