5.14.1.7. eqcorrscan.utils.sfile_util.readwavename

eqcorrscan.utils.sfile_util.readwavename(sfile)[source]

Extract the waveform filename from the s-file. Returns a list of waveform names found in the s-file as multiples can be present.

Parameters:sfile (str) Path to the sfile
Returns:List of strings of wave paths
Return type:list
>>> readwavename('eqcorrscan/tests/test_data/REA/TEST_/' +
...              '01-0411-15L.S201309')
['2013-09-01-0410-35.DFDPC_024_00']