How North Korea tests a nuclear weapon for targets

 And the seismic waveforms of the two look very different. The first seismic waves from explosions, or primary waves (P waves), are typically stronger. The secondary waves (S waves) are weaker.