Understanding greenhouse gas emissions from agricultural management