Calcium cyanamide reduces methane and other trace gases during long-term storage of dairy cattle and fattening pig slurry.