Scientists collect data on the greenhouse effect by calculating carbon dioxide or greenhouse gases emissions around and evaluating the effect of this emissions to the temperature. Hope this answers the question. Have a nice day. Feel free to ask more questions.