6.2.2.1.7. eqcorrscan.utils.catalog_to_dd.write_station

eqcorrscan.utils.catalog_to_dd.write_station(inventory, use_elevation=False, filename='station.dat')[source]

Write a hypoDD formatted station file.

Parameters:
  • inventory (obspy.core.Inventory) – Inventory of stations to write - should include channels if use_elevation=True to incorporate channel depths.

  • use_elevation (bool) – Whether to write elevations (requires hypoDD >= 2)

  • filename (str) – File to write stations to.