5.2.1.1. eqcorrscan.utils.catalog_to_dd.readSTATION0

eqcorrscan.utils.catalog_to_dd.readSTATION0(path, stations)[source]

Read a Seisan STATION0.HYP file on the path given. Outputs writtenin station.dat file.

Parameters:
  • path (str) Path to the STATION0.HYP file
  • station (list) Stations to look for
Returns:

List of tuples of station, lat, long, elevation

>>> readSTATION0('eqcorrscan/tests/test_data', ['WHFS', 'WHAT2'])
[('WHFS', -43.261, 170.359, 60.0), ('WHAT2', -43.2793, 170.36038333333335, 95.0)]