Upgrade to Pro — share decks privately, control downloads, hide ads and more …

2017 - Gabrielle Simard-Moore - Calculating the...

PyBay
August 13, 2017

2017 - Gabrielle Simard-Moore - Calculating the Epicenter of an Earthquake with Python

PyBay

August 13, 2017
Tweet

More Decks by PyBay

Other Decks in Programming

Transcript

  1. From Seismograph to Epicenter • 3 Seismic Stations • P-

    and S-wave arrival time difference • Distance to Earthquake • Draw 3 circles • Intersection = Epicenter
  2. Tech Stack • Python • Numpy • Datetime • Math

    • Flask • Ajax/Jquery • Google Maps JS API
  3. Assumptions • Wave velocity in CA crustal rocks P-wave velocity

    ~ 6.34 km/s (varies by +/- 2+) S-wave velocity ~ 3.67 km/s (varies by +/- 1+) • Homogeneity of materials (very unrealistic for a heterogeneous lithosphere)
  4. Geodetic (latitude, longitude) to ECEF X, Y, Z coordinates to

    Numpy array ECEF = “Earth centered, Earth fixed”