Supported File Formats¶
Trace formats¶
SourceSpec can read all the trace formats supported by ObsPy.
Two very common choices are:
The SAC format can carry additional information in its header, like event location and origin time, phase picks, instrument sensitivity.
Event formats¶
SourceSpec can read event information (event ID, location, origin time) in the following formats:
QuakeML: SourceSpec will also read phase picks and focal mechanism, if available
HYPOINVERSE-2000: SourceSpec will also read phase picks, if available
Event information can also be stored in the SAC file headers (header
fields: EVLA
, EVLO
, EVDP
, O
, KEVNM
).
Phase pick formats¶
Phase picks for P and S waves can be read from one of the following formats:
Phase picks can also be stored in the SAC file headers (header fields:
A
and T0
).
Station metadata formats¶
Station metadata (coordinates, instrumental response) can be provided in one of the following formats:
Note that SEED RESP and PAZ formats do not contain station coordinates, which should therefore be in the trace header (traces in SAC format).
The station metadata file name or file directory is provided in the
configuration file through the parameter station_metadata
.
Alternatively, instrument sensitivity can be provided in the SAC header
or as a constant in the configuration file. In both cases, use the
configuration parameter sensitivity
.
Output files¶
The SourceSpec main code, source_spec
will produce the following
output files (EVID
is replaced by the actual event ID):
EVID.ssp.out
: text file containing the estimated earthquake source parameters (per station and average)EVID.ssp.log
: log file in text format (including the command line arguments, for reproducibility)EVID.ssp.conf
: the input config file (for reproducibility)EVID-residuals.pickle
: station residuals in Python pickle formatEVID.xml
: updated StationXML file with the results of the SourceSpec inversion (only if an input StationXML file is provided)
The following plots will be created, in png or pdf format:
EVID.traces.png[.pdf]
: trace plotsEVID.ssp.png[.pdf]
: spectral plotsEVID.sspweight.png[.pdf]
: spectral weight plotsEVID.boxplot.png[.pdf]
: box plots for the earthquake source parameters retrieved at each stationMisfit plots, when using “grid search” or “importance sampling” for the spectral inversion
As an option, station maps can be created (requires Cartopy):
EVID.map_mag.png[.pdf]
: station map with symbols colored by estimated moment magnitudeEVID.map_fc.png[.pdf]
: station map with symbols colored by estimated corner frequency
As an option, the retrieved source parameters (per station and average) can be appended to a SQLite database, whose path is defined in the configuration file.
Finally, always as an option, source_spec
can generate a report in
HTML format.