Legacy File Formats
With inv2 benchmarks, we updated the file formats used in the SIV benchmarks. We continue the support for the legacy formats especially for the older benchmarks. Note: Updated formats are preferred.
synar format
A synar file is a text file that contains the benchmark id a solution id and the predicted wavforms for all the stations.
In the following example the benchmark is ssp0 the solution is maiCS. A list of the benchmarks for
which you can add a solution is provided here.
A line begining with > indicates the beginning of a section for a station.
In the example the first station is 001 and 2501 samples with time spacing of 0.0040 are provided.
The first column is the x component the second the y and the third the z component.
Note that the station ids have to be formatted as 001.
Any other formatting will lead to the synar file being rejected.
The following is a download link for a python script that can convert a directory with a collection of syn files into a synar file.
syn2synar.py.tar.bz2
ssp0 maiCS > 001 2501 0.0040 8.933101e-05 1.062553e-07 -1.616408e-08 9.564531e-05 1.086227e-07 -1.684231e-08 1.014884e-04 1.110153e-07 -1.753382e-08 1.067496e-04 1.134230e-07 -1.823688e-08 1.113241e-04 1.158359e-07 -1.894981e-08 1.151167e-04 1.182441e-07 -1.967099e-08 ... > 002 2501 0.0040 ...
rupmod format
A rupmod file is a text file that contains several header fields and for each fault segment the slip the rise time and the rupture time. The coordinates for each fault segment are the mid point of the upper edge of the patch.
# ------------------------------------------------------------------------ # Event : BLIND TEST BY Jan Burjanek # sbt1 sblindJB # SourceParm : Mw = -999 Mo = 1.59e+019 Nm dip = 90 # SourceMech : strike = 150 dip = 90 # Hypocenter : X = 30.0 Y = 0.0 Z = 11.5 # Depth2Top : Z2top = 5e-05 # NumPoints : Nx = 60 Nz = 60 NT = 1 # SrcTimFun : Type = Brune Step = 0 # ------------------------------------------------------------------------ # X Y Z SS-Slip DS-Slip RiseTime RupTime # km km km m/s m/s s s # ------------------------------------------------------------------------ -29.5 0.0 28.51665 0.000183290 0.00 1.00 12.7766 -28.5 0.0 28.51665 0.000460663 0.00 1.00 12.4554 -27.5 0.0 28.51665 0.000919534 0.00 1.00 12.1372 -26.5 0.0 28.51665 0.001692170 0.00 1.00 11.8222 -25.5 0.0 28.51665 0.002424600 0.00 1.00 11.5107 -24.5 0.0 28.51665 0.003011410 0.00 1.00 11.2031 -23.5 0.0 28.51665 0.003322010 0.00 1.00 10.8996 -22.5 0.0 28.51665 0.003266800 0.00 1.00 10.6006 -21.5 0.0 28.51665 0.002807930 0.00 1.00 10.3065