5.9.1.3. eqcorrscan.utils.sfile_util.blanksfile

eqcorrscan.utils.sfile_util.blanksfile(wavefile, evtype, userID, outdir, overwrite=False, evtime=False)[source]

Module to generate an empty s-file with a populated header for a given waveform.

Parameters:
  • wavefile (String) – Wavefile to associate with this S-file, the timing of the S-file will be taken from this file if evtime is not set.
  • evtype (String) – L,R,D
  • userID (String) – 4-charectar SEISAN USER ID
  • outdir (String) – Location to write S-file
  • overwrite (Bool) – Overwrite an existing S-file, default=False
  • evtime (UTCDateTime) – If given this will set the timing of the S-file
Returns:

String, S-file name