pyrocko.model.codes¶
Classes
|
Undocumented. |
|
Codes denominating a seismic station (NSL). |
|
|
|
Codes denominating a seismic channel (NSLC or NSLCE). |
|
|
|
General purpose codes for anything other than channels or stations. |
|
- class CodesNSLCEBase(network, station, location, channel, extra)¶
Bases:
tuple- channel¶
Alias for field number 3
- extra¶
Alias for field number 4
- location¶
Alias for field number 2
- network¶
Alias for field number 0
- station¶
Alias for field number 1
- class CodesNSLCE(*args, safe_str=None, **kwargs)[source]¶
Bases:
CodesNSLCEBase,CodesCodes denominating a seismic channel (NSLC or NSLCE).
FDSN/SEED style NET.STA.LOC.CHA is accepted or NET.STA.LOC.CHA.EXTRA, where the EXTRA part in the latter form can be used to identify a custom processing applied to a channel.
- as_dict()¶
Return a new dict which maps field names to their values.
- class CodesNSLBase(network, station, location)¶
Bases:
tuple- location¶
Alias for field number 2
- network¶
Alias for field number 0
- station¶
Alias for field number 1
- class CodesNSL(*args, safe_str=None, **kwargs)[source]¶
Bases:
CodesNSLBase,CodesCodes denominating a seismic station (NSL).
NET.STA.LOC is accepted, slightly different from SEED/StationXML, where LOC is part of the channel. By setting location=’*’ is possible to get compatible behaviour in most cases.
- as_dict()¶
Return a new dict which maps field names to their values.
- class CodesX(name='', safe_str=None)[source]¶
Bases:
CodesXBase,CodesGeneral purpose codes for anything other than channels or stations.
- as_dict()¶
Return a new dict which maps field names to their values.