An underwater quake was detected off the coast of PNG this afternoon.