Earth-atmosphere exchange of heat and mass over mountainous terrain