5.9.1.8. eqcorrscan.utils.sfile_util.populatesfile

eqcorrscan.utils.sfile_util.populatesfile(sfile, event)[source]

Module to populate a blank nordic format S-file with pick information, arguments required are the filename of the blank s-file and the picks where picks is a dictionary of picks including station, channel, impulsivity, phase, weight, polarity, time, coda, amplitude, peri, azimuth, velocity, SNR, azimuth residual, Time-residual, final weight, epicentral distance & azimuth from event to station.

This is a full pick line information from the seisan manual, P. 341

Parameters:
  • sfile (str) – Path to S-file to populate, must have a header already
  • picks – A single event to be written to a single S-file.