obspy.core.inventory.channel.Channel.__init__

Channel.__init__(code, location_code, latitude, longitude, elevation, depth, azimuth=None, dip=None, types=None, external_references=None, sample_rate=None, sample_rate_ratio_number_samples=None, sample_rate_ratio_number_seconds=None, storage_format=None, clock_drift_in_seconds_per_sample=None, calibration_units=None, calibration_units_description=None, sensor=None, pre_amplifier=None, data_logger=None, equipment=None, response=None, description=None, comments=None, start_date=None, end_date=None, restricted_status=None, alternate_code=None, historical_code=None, data_availability=None)[source]
Parameters:
  • code (str) The SEED channel code for this channel
  • location_code (str) The SEED location code for this channel
  • latitude (Latitude) Latitude coordinate of this channel’s sensor.
  • longitude (Longitude) Longitude coordinate of this channel’s sensor.
  • elevation (float) Elevation of the sensor.
  • depth (float) The local depth or overburden of the instrument’s location. For downhole instruments, the depth of the instrument under the surface ground level. For underground vaults, the distance from the instrument to the local ground level above.
  • azimuth (float) Azimuth of the sensor in degrees from North, clockwise.
  • dip (float) Dip of the instrument in degrees, down from horizontal.
  • types (list of str) The type of data this channel collects. Corresponds to channel flags in SEED blockette 52. The SEED volume producer could use the first letter of an Output value as the SEED channel flag. Possible values: TRIGGERED, CONTINUOUS, HEALTH, GEOPHYSICAL, WEATHER, FLAG, SYNTHESIZED, INPUT, EXPERIMENTAL, MAINTENANCE, BEAM
  • external_references (list of ExternalReference) URI of any type of external report, such as data quality reports.
  • sample_rate (float) This is a group of elements that represent sample rate. If this group is included, then SampleRate, which is the sample rate in samples per second, is required. SampleRateRatio, which is expressed as a ratio of number of samples in a number of seconds, is optional. If both are included, SampleRate should be considered more definitive.
  • sample_rate_ratio_number_samples (int) The sample rate expressed as number of samples in a number of seconds. This is the number of samples.
  • sample_rate_ratio_number_seconds (int) The sample rate expressed as number of samples in a number of seconds. This is the number of seconds.
  • storage_format (str) The storage format of the recorded data (e.g. SEED)
  • clock_drift_in_seconds_per_sample (float) A tolerance value, measured in seconds per sample, used as a threshold for time error detection in data from the channel.
  • calibration_units (str) Name of units , e.g. “M/S”, “M”, ...
  • calibration_units_description (str) Description of units, e.g. “Velocity in meters per second”, ...
  • sensor (Equipment) The sensor
  • pre_amplifier (Equipment) The pre-amplifier
  • data_logger (Equipment) The data-logger
  • equipment (Equipment) Other station equipment
  • response (Response) The response of the channel
  • description (str) A description of the resource
  • comments (list of Comment) An arbitrary number of comments to the resource
  • start_date (UTCDateTime) The start date of the resource
  • end_date (UTCDateTime) The end date of the resource
  • restricted_status (str) The restriction status
  • alternate_code (str) A code used for display or association, alternate to the SEED-compliant code.
  • historical_code (str) A previously used code if different from the current code.
  • data_availability (DataAvailability) Information about time series availability for the channel.