Scientists have long labored to explain what appeared to be a slowdown in global warming that began at the start of this century as, at the same time, heat-trapping emissions of carbon dioxide were soaring. The slowdown, sometimes inaccurately described as a halt or hiatus, became a major talking point for people critical of climate science.

Now, new research suggests the whole thing may have been based on incorrect data.

When adjustments are made to compensate for recently discovered problems in the way global temperatures were measured, the slowdown largely disappears, the National Oceanic and Atmospheric Administration declared in a scientific paper published Thursday. And when the particularly warm temperatures of 2013 and 2014 are averaged in, the slowdown goes away entirely, the agency said.

“The notion that there was a slowdown in global warming, or a hiatus, was based on the best information we had available at the time,” said Thomas R. Karl, director of the National Centers for Environmental Information, a NOAA unit in Asheville, N.C. “Science is always working to improve.”

The change prompted accusations on Thursday from some climate-change denialists that the agency was trying to wave a magic wand and make inconvenient data go away. Mainstream climate scientists not involved in the NOAA research rejected that charge, saying it was essential that agencies like NOAA try to deal with known problems in their data records.