What is the effect of temperature and carbon dioxide on the opening and closing of stomata?
I like the reference book Plant Physiological Ecology for stuff like this. I know one of the authors is Thijs Pons.   

When temperatures become high, plants may close the stomata to conserve moisture. When the stomata are open, usually in daylight hours, the open stomata allow $CO_2$ to enter the leaf. This carbon is needed to form glucose and many other products a plant makes from photosynthesis. Most plants will not open the stomata in the absence of light. 

(I use the above text as the reference. I can't give you pages right now, but I was reading this a couple of days ago.)