Automatic earthquake confirmation for early warning system