obspy.core.trace.Trace.id

property Trace.id

Return a SEED compatible identifier of the trace.

Return type:

str

Returns:

SEED identifier

The SEED identifier contains the network, station, location and channel code for the current Trace object.

Example

>>> meta = {'station': 'MANZ', 'network': 'BW', 'channel': 'EHZ'}
>>> tr = Trace(header=meta)
>>> print(tr.get_id())
BW.MANZ..EHZ
>>> print(tr.id)
BW.MANZ..EHZ