obspy.core.trace.Trace.get_id

Trace.get_id()[source]

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