pyrocko.io.stationxml

exception NoResponseInformation[source]
exception MultipleResponseInformation[source]
wrap(s, width=80, indent=4)[source]
same(x, eps=0.0)[source]
class DummyAwareOptionalTimestamp(dummy) → float[source]

Undocumented.

class Nominal(dummy) → str[source]

Any str out of ['NOMINAL', 'CALCULATED'].

choices = ['NOMINAL', 'CALCULATED']
class Email(dummy) → str[source]

Any unicode matching pattern '[\\w\\.\\-_]+@[\\w\\.\\-_]+'.

pattern = '[\\w\\.\\-_]+@[\\w\\.\\-_]+'
class RestrictedStatus(dummy) → str[source]

Any str out of ['open', 'closed', 'partial'].

choices = ['open', 'closed', 'partial']
class Type(dummy) → str[source]

Any str out of ['TRIGGERED', 'CONTINUOUS', 'HEALTH', 'GEOPHYSICAL', 'WEATHER', 'FLAG', 'SYNTHESIZED', 'INPUT', 'EXPERIMENTAL', 'MAINTENANCE', 'BEAM'].

choices = ['TRIGGERED', 'CONTINUOUS', 'HEALTH', 'GEOPHYSICAL', 'WEATHER', 'FLAG', 'SYNTHESIZED', 'INPUT', 'EXPERIMENTAL', 'MAINTENANCE', 'BEAM']
class PzTransferFunction(dummy) → str[source]

Any str out of ['LAPLACE (RADIANS/SECOND)', 'LAPLACE (HERTZ)', 'DIGITAL (Z-TRANSFORM)'].

choices = ['LAPLACE (RADIANS/SECOND)', 'LAPLACE (HERTZ)', 'DIGITAL (Z-TRANSFORM)']
class Symmetry(dummy) → str[source]

Any str out of ['NONE', 'EVEN', 'ODD'].

choices = ['NONE', 'EVEN', 'ODD']
class CfTransferFunction(dummy) → str[source]

Any str out of ['ANALOG (RADIANS/SECOND)', 'ANALOG (HERTZ)', 'DIGITAL'].

choices = ['ANALOG (RADIANS/SECOND)', 'ANALOG (HERTZ)', 'DIGITAL']
replacements = {'ANALOG (HZ)': 'ANALOG (HERTZ)', 'ANALOG (RAD/SEC)': 'ANALOG (RADIANS/SECOND)'}
class Approximation(dummy) → str[source]

Any str out of ['MACLAURIN'].

choices = ['MACLAURIN']
class Site(**kwargs)[source]

Description of a site location using name and optional geopolitical boundaries (country, city, etc.).

name

str

description

str, optional

town

str, optional

county

str, optional

region

str, optional

country

str, optional

name = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
description = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
town = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
county = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
region = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
country = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
class ExternalReference(**kwargs)[source]

This type contains a URI and description for external data that users may want to reference in StationXML.

uri

str

description

str

uri = <pyrocko.guts.String.__T object>
description = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
class Units(name=None, **kwargs)[source]

A type to document units. Corresponds to SEED blockette 34.

name

str

description

str, optional

name = <pyrocko.guts.String.__T object>
description = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
class Counter(dummy) → int[source]

Undocumented.

class SampleRateRatio(**kwargs)[source]

Sample rate expressed as number of samples in a number of seconds.

number_samples

int

number_seconds

int

number_samples = <pyrocko.guts.Int.__T object>
number_seconds = <pyrocko.guts.Int.__T object>
class Gain(value=None, **kwargs)[source]

Complex type for sensitivity and frequency ranges. This complex type can be used to represent both overall sensitivities and individual stage gains. The FrequencyRangeGroup is an optional construct that defines a pass band in Hertz ( FrequencyStart and FrequencyEnd) in which the SensitivityValue is valid within the number of decibels specified in FrequencyDBVariation.

value

float, optional

frequency

float, optional

value = <pyrocko.guts.Float.__T object>
frequency = <pyrocko.guts.Float.__T object>
class NumeratorCoefficient(**kwargs)[source]

Undocumented.

i

int, optional

value

float

i = <pyrocko.guts.Int.__T object>
value = <pyrocko.guts.Float.__T object>
class FloatNoUnit(value=None, **kwargs)[source]

Undocumented.

plus_error

float, optional

minus_error

float, optional

value

float

plus_error = <pyrocko.guts.Float.__T object>
minus_error = <pyrocko.guts.Float.__T object>
value = <pyrocko.guts.Float.__T object>
class FloatWithUnit(value=None, **kwargs)[source]

Undocumented.

unit

str, optional

unit = <pyrocko.guts.String.__T object>
class Equipment(**kwargs)[source]

Undocumented.

resource_id

str, optional

type

str, optional

description

str, optional

manufacturer

str, optional

vendor

str, optional

model

str, optional

serial_number

str, optional

installation_date

builtins.float (DummyAwareOptionalTimestamp), optional

removal_date

builtins.float (DummyAwareOptionalTimestamp), optional

calibration_date_list

list of builtins.float (pyrocko.guts.Timestamp) objects, default: []

resource_id = <pyrocko.guts.String.__T object>
type = <pyrocko.guts.String.__T object>
description = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
manufacturer = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
vendor = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
model = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
serial_number = <pyrocko.guts.String.__T object>
installation_date = <pyrocko.io.stationxml.DummyAwareOptionalTimestamp.__T object>
removal_date = <pyrocko.io.stationxml.DummyAwareOptionalTimestamp.__T object>
calibration_date_list = <pyrocko.guts.List.__T object>
class PhoneNumber(**kwargs)[source]

Undocumented.

description

str, optional

country_code

int, optional

area_code

int

phone_number

builtins.str (PhoneNumber)

description = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
country_code = <pyrocko.guts.Int.__T object>
area_code = <pyrocko.guts.Int.__T object>
phone_number = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
class BaseFilter(**kwargs)[source]

The BaseFilter is derived by all filters.

resource_id

str, optional

name

str, optional

description

str, optional

input_units

Units, optional

output_units

Units, optional

resource_id = <pyrocko.guts.String.__T object>
name = <pyrocko.guts.String.__T object>
description = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
input_units = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
output_units = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
class Sensitivity(value=None, **kwargs)[source]

Sensitivity and frequency ranges. The FrequencyRangeGroup is an optional construct that defines a pass band in Hertz (FrequencyStart and FrequencyEnd) in which the SensitivityValue is valid within the number of decibels specified in FrequencyDBVariation.

input_units

Units, optional

output_units

Units, optional

frequency_start

float, optional

frequency_end

float, optional

frequency_db_variation

float, optional

input_units = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
output_units = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
frequency_start = <pyrocko.guts.Float.__T object>
frequency_end = <pyrocko.guts.Float.__T object>
frequency_db_variation = <pyrocko.guts.Float.__T object>
class Coefficient(value=None, **kwargs)[source]

Undocumented.

number

builtins.int (Counter), optional

number = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
class PoleZero(**kwargs)[source]

Complex numbers used as poles or zeros in channel response.

number

int, optional

real

FloatNoUnit

imaginary

FloatNoUnit

number = <pyrocko.guts.Int.__T object>
real = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
imaginary = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
value()[source]
class ClockDrift(value=None, **kwargs)[source]

Undocumented.

unit

str, optional, default: 'SECONDS/SAMPLE'

unit = <pyrocko.guts.String.__T object>
class Second(value=None, **kwargs)[source]

A time value in seconds.

unit

str, optional, default: 'SECONDS'

unit = <pyrocko.guts.String.__T object>
class Voltage(value=None, **kwargs)[source]

Undocumented.

unit

str, optional, default: 'VOLTS'

unit = <pyrocko.guts.String.__T object>
class Angle(value=None, **kwargs)[source]

Undocumented.

unit

str, optional, default: 'DEGREES'

unit = <pyrocko.guts.String.__T object>
class Azimuth(value=None, **kwargs)[source]

Instrument azimuth, degrees clockwise from North.

unit

str, optional, default: 'DEGREES'

unit = <pyrocko.guts.String.__T object>
class Dip(value=None, **kwargs)[source]

Instrument dip in degrees down from horizontal. Together azimuth and dip describe the direction of the sensitive axis of the instrument.

unit

str, optional, default: 'DEGREES'

unit = <pyrocko.guts.String.__T object>
class Distance(value=None, **kwargs)[source]

Extension of FloatWithUnit for distances, elevations, and depths.

unit

str, optional, default: 'METERS'

unit = <pyrocko.guts.String.__T object>
class Frequency(value=None, **kwargs)[source]

Undocumented.

unit

str, optional, default: 'HERTZ'

unit = <pyrocko.guts.String.__T object>
class SampleRate(value=None, **kwargs)[source]

Sample rate in samples per second.

unit

str, optional, default: 'SAMPLES/S'

unit = <pyrocko.guts.String.__T object>
class Person(**kwargs)[source]

Representation of a person’s contact information. A person can belong to multiple agencies and have multiple email addresses and phone numbers.

name_list

list of str objects, default: []

agency_list

list of str objects, default: []

email_list

list of builtins.str (Email) objects, default: []

phone_list

list of PhoneNumber objects, default: []

name_list = <pyrocko.guts.List.__T object>
agency_list = <pyrocko.guts.List.__T object>
email_list = <pyrocko.guts.List.__T object>
phone_list = <pyrocko.guts.List.__T object>
class FIR(**kwargs)[source]

Response: FIR filter. Corresponds to SEED blockette 61. FIR filters are also commonly documented using the Coefficients element.

symmetry

builtins.str (Symmetry)

numerator_coefficient_list

list of NumeratorCoefficient objects, default: []

symmetry = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
numerator_coefficient_list = <pyrocko.guts.List.__T object>
class Coefficients(**kwargs)[source]

Response: coefficients for FIR filter. Laplace transforms or IIR filters can be expressed using type as well but the PolesAndZeros should be used instead. Corresponds to SEED blockette 54.

cf_transfer_function_type

builtins.str (CfTransferFunction)

numerator_list

list of FloatWithUnit objects, default: []

denominator_list

list of FloatWithUnit objects, default: []

cf_transfer_function_type = <pyrocko.io.stationxml.CfTransferFunction.__T object>
numerator_list = <pyrocko.guts.List.__T object>
denominator_list = <pyrocko.guts.List.__T object>
class Latitude(value=None, **kwargs)[source]

Type for latitude coordinate.

unit

str, optional, default: 'DEGREES'

datum

str, optional, default: 'WGS84'

unit = <pyrocko.guts.String.__T object>
datum = <pyrocko.guts.String.__T object>
class Longitude(value=None, **kwargs)[source]

Type for longitude coordinate.

unit

str, optional, default: 'DEGREES'

datum

str, optional, default: 'WGS84'

unit = <pyrocko.guts.String.__T object>
datum = <pyrocko.guts.String.__T object>
class PolesZeros(**kwargs)[source]

Response: complex poles and zeros. Corresponds to SEED blockette 53.

pz_transfer_function_type

builtins.str (PzTransferFunction)

normalization_factor

float, default: 1.0

normalization_frequency

Frequency

zero_list

list of PoleZero objects, default: []

pole_list

list of PoleZero objects, default: []

pz_transfer_function_type = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
normalization_factor = <pyrocko.guts.Float.__T object>
normalization_frequency = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
zero_list = <pyrocko.guts.List.__T object>
pole_list = <pyrocko.guts.List.__T object>
get_pyrocko_response()[source]
class ResponseListElement(**kwargs)[source]

Undocumented.

frequency

Frequency

amplitude

FloatWithUnit

phase

Angle

frequency = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
amplitude = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
phase = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
class Polynomial(**kwargs)[source]

Response: expressed as a polynomial (allows non-linear sensors to be described). Corresponds to SEED blockette 62. Can be used to describe a stage of acquisition or a complete system.

approximation_type

builtins.str (Approximation), default: 'MACLAURIN'

frequency_lower_bound

Frequency

frequency_upper_bound

Frequency

approximation_lower_bound

float

approximation_upper_bound

float

maximum_error

float

coefficient_list

list of Coefficient objects, default: []

approximation_type = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
frequency_lower_bound = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
frequency_upper_bound = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
approximation_lower_bound = <pyrocko.guts.Float.__T object>
approximation_upper_bound = <pyrocko.guts.Float.__T object>
maximum_error = <pyrocko.guts.Float.__T object>
coefficient_list = <pyrocko.guts.List.__T object>
class Decimation(**kwargs)[source]

Corresponds to SEED blockette 57.

input_sample_rate

Frequency

factor

int

offset

int

delay

FloatWithUnit

correction

FloatWithUnit

input_sample_rate = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
factor = <pyrocko.guts.Int.__T object>
offset = <pyrocko.guts.Int.__T object>
delay = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
correction = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
class Operator(**kwargs)[source]

Undocumented.

agency_list

list of str objects, default: []

contact_list

list of Person objects, default: []

web_site

str, optional

agency_list = <pyrocko.guts.List.__T object>
contact_list = <pyrocko.guts.List.__T object>
web_site = <pyrocko.guts.String.__T object>
class Comment(**kwargs)[source]

Container for a comment or log entry. Corresponds to SEED blockettes 31, 51 and 59.

id

builtins.int (Counter), optional

value

str

begin_effective_time

builtins.float (DummyAwareOptionalTimestamp), optional

end_effective_time

builtins.float (DummyAwareOptionalTimestamp), optional

author_list

list of Person objects, default: []

id = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
value = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
begin_effective_time = <pyrocko.io.stationxml.DummyAwareOptionalTimestamp.__T object>
end_effective_time = <pyrocko.io.stationxml.DummyAwareOptionalTimestamp.__T object>
author_list = <pyrocko.guts.List.__T object>
class ResponseList(**kwargs)[source]

Response: list of frequency, amplitude and phase values. Corresponds to SEED blockette 55.

response_list_element_list

list of ResponseListElement objects, default: []

response_list_element_list = <pyrocko.guts.List.__T object>
class Log(**kwargs)[source]

Container for log entries.

entry_list

list of Comment objects, default: []

entry_list = <pyrocko.guts.List.__T object>
class ResponseStage(**kwargs)[source]

This complex type represents channel response and covers SEED blockettes 53 to 56.

number

builtins.int (Counter)

resource_id

str, optional

poles_zeros_list

list of PolesZeros objects, default: []

coefficients_list

list of Coefficients objects, default: []

response_list

ResponseList, optional

fir

FIR, optional

polynomial

Polynomial, optional

decimation

Decimation, optional

stage_gain

Gain, optional

number = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
resource_id = <pyrocko.guts.String.__T object>
poles_zeros_list = <pyrocko.guts.List.__T object>
coefficients_list = <pyrocko.guts.List.__T object>
response_list = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
fir = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
polynomial = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
decimation = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
stage_gain = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
get_pyrocko_response(nslc)[source]
input_units
output_units
class Response(**kwargs)[source]

Undocumented.

resource_id

str, optional

instrument_sensitivity

Sensitivity, optional

instrument_polynomial

Polynomial, optional

stage_list

list of ResponseStage objects, default: []

resource_id = <pyrocko.guts.String.__T object>
instrument_sensitivity = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
instrument_polynomial = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
stage_list = <pyrocko.guts.List.__T object>
get_pyrocko_response(nslc, fake_input_units=None)[source]
classmethod from_pyrocko_pz_response(presponse, input_unit, output_unit, normalization_frequency=1.0)[source]
class BaseNode(**kwargs)[source]

A base node type for derivation from: Network, Station and Channel types.

code

str

start_date

builtins.float (DummyAwareOptionalTimestamp), optional

end_date

builtins.float (DummyAwareOptionalTimestamp), optional

restricted_status

builtins.str (RestrictedStatus), optional

alternate_code

str, optional

historical_code

str, optional

description

str, optional

comment_list

list of Comment objects, default: []

code = <pyrocko.guts.String.__T object>
start_date = <pyrocko.io.stationxml.DummyAwareOptionalTimestamp.__T object>
end_date = <pyrocko.io.stationxml.DummyAwareOptionalTimestamp.__T object>
restricted_status = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
alternate_code = <pyrocko.guts.String.__T object>
historical_code = <pyrocko.guts.String.__T object>
description = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
comment_list = <pyrocko.guts.List.__T object>
spans(*args)[source]
class Channel(**kwargs)[source]

Equivalent to SEED blockette 52 and parent element for the related the response blockettes.

location_code

str

external_reference_list

list of ExternalReference objects, default: []

latitude

Latitude

longitude

Longitude

elevation

Distance

depth

Distance

azimuth

Azimuth, optional

dip

Dip, optional

type_list

list of builtins.str (Type) objects, default: []

sample_rate

SampleRate, optional

sample_rate_ratio

SampleRateRatio, optional

storage_format

str, optional

clock_drift

ClockDrift, optional

calibration_units

Units, optional

sensor

Equipment, optional

pre_amplifier

Equipment, optional

data_logger

Equipment, optional

equipment

Equipment, optional

response

Response, optional

location_code = <pyrocko.guts.String.__T object>
external_reference_list = <pyrocko.guts.List.__T object>
latitude = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
longitude = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
elevation = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
depth = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
azimuth = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
dip = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
type_list = <pyrocko.guts.List.__T object>
sample_rate = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
sample_rate_ratio = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
storage_format = <pyrocko.guts.String.__T object>
clock_drift = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
calibration_units = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
sensor = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
pre_amplifier = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
data_logger = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
equipment = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
response = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
position_values
class Station(**kwargs)[source]

This type represents a Station epoch. It is common to only have a single station epoch with the station’s creation and termination dates as the epoch start and end dates.

latitude

Latitude

longitude

Longitude

elevation

Distance

site

Site, optional

vault

str, optional

geology

str, optional

equipment_list

list of Equipment objects, default: []

operator_list

list of Operator objects, default: []

creation_date

builtins.float (DummyAwareOptionalTimestamp), optional

termination_date

builtins.float (DummyAwareOptionalTimestamp), optional

total_number_channels

builtins.int (Counter), optional

selected_number_channels

builtins.int (Counter), optional

external_reference_list

list of ExternalReference objects, default: []

channel_list

list of Channel objects, default: []

latitude = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
longitude = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
elevation = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
site = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
vault = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
geology = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
equipment_list = <pyrocko.guts.List.__T object>
operator_list = <pyrocko.guts.List.__T object>
creation_date = <pyrocko.io.stationxml.DummyAwareOptionalTimestamp.__T object>
termination_date = <pyrocko.io.stationxml.DummyAwareOptionalTimestamp.__T object>
total_number_channels = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
selected_number_channels = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
external_reference_list = <pyrocko.guts.List.__T object>
channel_list = <pyrocko.guts.List.__T object>
position_values
class Network(**kwargs)[source]

This type represents the Network layer, all station metadata is contained within this element. The official name of the network or other descriptive information can be included in the Description element. The Network can contain 0 or more Stations.

total_number_stations

builtins.int (Counter), optional

selected_number_stations

builtins.int (Counter), optional

station_list

list of Station objects, default: []

total_number_stations = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
selected_number_stations = <pyrocko.guts.ObjectMetaClass.__new__.<locals>.T object>
station_list = <pyrocko.guts.List.__T object>
station_code_list
sl_code_list
summary(width=80, indent=4)[source]
value_or_none(x)[source]
pyrocko_station_from_channels(nsl, channels, inconsistencies='warn')[source]
class FDSNStationXML(**kwargs)[source]

Top-level type for Station XML. Required field are Source (network ID of the institution sending the message) and one or more Network containers or one or more Station containers.

schema_version

float, default: 1.0

source

str

sender

str, optional

module

str, optional

module_uri

str, optional

created

builtins.float (pyrocko.guts.Timestamp)

network_list

list of Network objects, default: []

schema_version = <pyrocko.guts.Float.__T object>
source = <pyrocko.guts.String.__T object>
sender = <pyrocko.guts.String.__T object>
module = <pyrocko.guts.String.__T object>
module_uri = <pyrocko.guts.String.__T object>
created = <pyrocko.guts.Timestamp.__T object>
network_list = <pyrocko.guts.List.__T object>
xmltagname = 'FDSNStationXML'
guessable_xmlns = ['http://www.fdsn.org/xml/station/1']
get_pyrocko_stations(nslcs=None, nsls=None, time=None, timespan=None, inconsistencies='warn')[source]
classmethod from_pyrocko_stations(pyrocko_stations, add_flat_responses_from=None)[source]

Generate FDSNStationXML from list of :py:class;`pyrocko.model.Station` instances.

Parameters:
  • pyrocko_stations – list of :py:class;`pyrocko.model.Station` instances.
  • add_flat_responses_from – unit, ‘M’, ‘M/S’ or ‘M/S**2’
iter_network_stations(net=None, sta=None, time=None, timespan=None)[source]
iter_network_station_channels(net=None, sta=None, loc=None, cha=None, time=None, timespan=None)[source]
get_channel_groups(net=None, sta=None, loc=None, cha=None, time=None, timespan=None)[source]
choose_channels(target_sample_rate=None, priority_band_code=['H', 'B', 'M', 'L', 'V', 'E', 'S'], priority_units=['M/S', 'M/S**2'], priority_instrument_code=['H', 'L'], time=None, timespan=None)[source]
get_pyrocko_response(nslc, time=None, timespan=None, fake_input_units=None)[source]
n_code_list
ns_code_list
nsl_code_list
nslc_code_list
summary()[source]
exception InconsistentChannelLocations[source]
exception InvalidRecord(line)[source]
load_channel_table(stream)[source]
primitive_merge(sxs)[source]