SM_INFO

Type: struct _SM_INFO
Description: Structure that contains data for a single strong motion message. This structure is equivalent to the binary form of a strong motion message(without a MSG_LOGO).
Note: NTS when used above refers to (NULL Terminated String).
Field Type Description
sta char[TRACE_STA_LEN] NTS, Site code as per IRIS SEED.
comp char[TRACE_CHAN_LEN] NTS, Component code as per IRIS SEED.
net char[TRACE_NET_LEN] NTS, Network code as per IRIS SEED.
loc char[TRACE_LOC_LEN] NTS, Location code as per IRIS SEED.
qid char[EVENTID_SIZE] EventId that the message is associated with. This EventID is the one specified by qAuthor.
qauthor char[AUTHOR_FIELD_SIZE] Author of an event with which this message is associated. The author assigns the qid.
t double The main timestamp for the message. If the message came from an SM box in the field, then this is the trigger time reported by the box. If the message came from a module processing continuous telemetry, then this is the pick time or earlies of PGA, PGV, or PGD time. (seconds since 1970/01/01 00:00:00.00)
talt double (Optional) Alternate timestamp for the message. This param is provided as a sanity check or correction of the main timestamp(t). This timestamp could be assigned by an acquisition module, database loader, human, or other. The author type of this timestamp is determined by altcode(see below). (seconds since 1970/01/01 00:00:00.00)
altcode int (Required if talt is specified.) Code specifying the source of the alternate time field(talt). See SM_ALTCODE_NONE for a list of recognized source codes.
pga double The Peak Ground Acceleration(PGA) for this message. (cm/s/s)
tpga double Time of the pga. (seconds since 1970)
pgv double The Peak Ground Velocity(PGV) for this message. (cm/s)
tpgv double Time of the pgv. (seconds since 1970)
pgd double The Peak Ground Displacement(PGD) for this message. (cm)
tpgd double Time of the pgd. (seconds since 1970)
nrsa int Number of response spectrum accel(RSA) pairs. Valid value range is (0 - SM_MAX_RSA).
pdrsa double[SM_MAX_RSA] Period(s) at which RSA values are given.
rsa double[SM_MAX_RSA] RSA value for each given period. (cm/s/s)
tload double Time the message was first loaded into an Earthworm DB. (seconds since 1970) NOTE: This field is not part of ascii TYPE_STRONGMOTIONII msg, but may be filled when pulling data from DBMS.

Group: EW_LIBSRC
Sub Group: RW_STRONGMOTION_II
Language: C
Location: ./include/rw_strongmotionII.h