Higher temperatures over the past two decades have caused the polar ice sheets to melt at an accelerating rate, contributing to an almost half-inch rise in global sea levels, according to the most comprehensive study done so far.

Scientists long have struggled to get a fix on whether the permanent ice sheets of Greenland and Antarctica are gaining or losing ice. Past satellite-based measurements either were limited in scope or suffered from methodological inconsistencies.

The...