I am trying to distribute temperature and precipitation data in mountainous catchment. I have a data of one of the station within the catchment and want to distribute on each grid of the DEM using lapse rate and vertical gradient. I am planning to use R software to do so. How can i do this?