Flaring and venting are the largest sources of methane emissions for the upstream oil and gas sector.