4.2.1.4. eqcorrscan.utils.catalog_to_dd.write_catalog

eqcorrscan.utils.catalog_to_dd.write_catalog(event_list, max_sep=8, min_link=8)[source]

Generate a dt.ct for hypoDD for a series of events.

Takes input event list from eqcorrscan.utils.catalog_to_dd.write_event() as a list of tuples of event id and sfile. It will read the pick information from the seisan formated s-file using the sfile_util utilities.

Parameters:
  • event_list (list) List of tuples of event_id (int) and sfile (String)
  • max_sep (float) Maximum separation between event pairs in km
  • min_link (int) Minimum links for an event to be paired
Returns:

list of stations that have been used in this catalog

Note

We have not yet implemented a method for taking unassociated event objects and wavefiles. As such if you have events with associated wavefiles you are advised to generate Sfiles for each event using the eqcorrscan.utils.sfile_util module prior to this step.