Influence of terrain on bedrock temperatures