ObsPy Logo
1.3.0

Getting Started

  • Tutorial
  • Gallery
  • API Overview
    • obspy.core - Core classes of ObsPy
    • obspy.db - A seismic waveform indexer and database for ObsPy
    • obspy.geodetics - Various geodetic utilities for ObsPy
    • obspy.imaging - Plotting routines for ObsPy
    • obspy.realtime - Real time support for ObsPy
    • obspy.signal - Signal processing routines for ObsPy
    • obspy.taup - Ray theoretical travel times and paths
    • obspy.scripts.flinnengdahl
    • obspy.scripts.runtests
    • obspy.scripts.reftekrescue
    • obspy.scripts.print
    • obspy.scripts.sds_html_report
    • obspy.db.scripts.indexer
    • obspy.imaging.scripts.scan
    • obspy.imaging.scripts.plot
    • obspy.imaging.scripts.mopad
    • obspy.io.mseed.scripts.recordanalyzer
    • obspy.io.xseed.scripts.dataless2xseed
    • obspy.io.xseed.scripts.xseed2dataless
    • obspy.io.xseed.scripts.dataless2resp
    • obspy.clients.earthworm - Earthworm Wave Server client for ObsPy.
    • obspy.clients.fdsn - FDSN web service client for ObsPy
    • obspy.clients.filesystem - Local filesystem (SDS or TSINDEX) client for ObsPy
    • obspy.clients.iris - IRIS web service client for ObsPy
    • obspy.clients.neic - CWB query module for ObsPy
    • obspy.clients.nrl - Nominal Response Library client for ObsPy
    • obspy.clients.seedlink - SeedLink client for ObsPy
      • Classes & Functions
        • obspy.clients.seedlink.basic_client.Client
        • obspy.clients.seedlink.easyseedlink.EasySeedLinkClient
        • obspy.clients.seedlink.slclient.SLClient
        • obspy.clients.seedlink.slpacket.SLPacket
        • obspy.clients.seedlink.client.slnetstation.SLNetStation
        • obspy.clients.seedlink.client.seedlinkconnection.SeedLinkConnection
        • obspy.clients.seedlink.client.slstate.SLState
      • Modules
    • obspy.clients.seishub - SeisHub database client for ObsPy
    • obspy.clients.syngine - IRIS Syngine client for ObsPy
    • obspy.io.ah - AH (Ad Hoc) read support for ObsPy
    • obspy.io.ascii - SLIST and TSPAIR support for ObsPy
    • obspy.io.css - CSS read support for ObsPy
    • obspy.io.dmc - INGV DMX file format reader for ObsPy
    • obspy.io.gcf - Guralp Compressed Format read support for ObsPy
    • obspy.io.gse2 - GSE2/GSE1 and GSE2 bulletin support for ObsPy
    • obspy.io.kinemetrics - Evt format support for ObsPy
    • obspy.io.mseed - MiniSEED read and write support for ObsPy
    • obspy.io.nied.knet - K-NET/KiK-net read support for ObsPy
    • obspy.io.pdas - PDAS file read support for ObsPy
    • obspy.io.reftek - REFTEK130 read support for ObsPy
    • obspy.io.rg16 - Receiver Gather v1.6 read support for ObsPy
    • obspy.io.sac - SAC read and write support for ObsPy
    • obspy.io.seisan - SEISAN read support for ObsPy
    • obspy.io.seg2 - SEG-2 read support for ObsPy
    • obspy.io.segy - SEG Y and SU read and write support for ObsPy
    • obspy.io.sh - Q and ASC read and write, EVT read support (Seismic Handler)
    • obspy.io.wav - WAV (audio) read and write support for ObsPy
    • obspy.io.win - WIN read support for ObsPy
    • obspy.io.y - Nanometrics Y file read support for ObsPy
    • obspy.io.cmtsolution - CMTSOLUTION file format support for ObsPy
    • obspy.io.cnv - CNV file format support for ObsPy
    • obspy.io.focmec - FOCMEC file format support for ObsPy
    • obspy.io.gse2 - GSE2/GSE1 and GSE2 bulletin support for ObsPy
    • obspy.io.hypodd - HypoDD read support for ObsPy
    • obspy.io.iaspei - Read support for IASPEI formats
    • obspy.io.json - JSON write support for ObsPy
    • obspy.io.kml - Keyhole Markup Language (KML) write support for ObsPy
    • obspy.io.ndk - NDK file support for ObsPy
    • obspy.io.nied.fnet - F-net moment tensor file read support for ObsPy
    • obspy.io.nied.knet - K-NET/KiK-net read support for ObsPy
    • obspy.io.nlloc - NonLinLoc file format support for ObsPy
    • obspy.io.nordic - Nordic file format support for ObsPy
    • obspy.io.pde - NEIC PDE Bulletin read support for ObsPy
    • obspy.io.quakeml - QuakeML read and write support for ObsPy
    • obspy.io.scardec - SCARDEC file format support for ObsPy
    • obspy.io.seiscomp - SeisComP XML inventory and event file support for ObsPy
    • obspy.io.shapefile - ESRI shapefile write support for ObsPy
    • obspy.io.zmap - ZMAP read and write support for ObsPy
    • obspy.io.css - CSS read support for ObsPy
    • obspy.io.kml - Keyhole Markup Language (KML) write support for ObsPy
    • obspy.io.sac.sacpz - SACPZ write support for ObsPy
    • obspy.io.seiscomp - SeisComP XML inventory and event file support for ObsPy
    • obspy.io.shapefile - ESRI shapefile write support for ObsPy
    • obspy.io.stationtxt - FDSNWS station text file read and write support for ObsPy
    • obspy.io.stationxml - StationXML read and write support for ObsPy
    • obspy.io.xseed - (X)SEED and RESP support for ObsPy

Developer Resources

  • Contributing to ObsPy
  • Coding Style Guide
  • Contributor Covenant Code of Conduct
  • Changelog

Indices and Tables

  • Table of Contents
  • Citations
  • Contributors
ObsPy
  • »
  • API Overview »
  • obspy.clients.seedlink - SeedLink client for ObsPy »
  • obspy.clients.seedlink.basic_client.Client »
  • obspy.clients.seedlink.basic_client.Client.get_info
  • View page source

obspy.clients.seedlink.basic_client.Client.get_info

Client.get_info(network=None, station=None, location=None, channel=None, level='station', cache=True)[source]

Request available stations information from the seedlink server.

Supports fnmatch wildcards, e.g. * and ?, in network, station, location and channel.

>>> client = Client('rtserver.ipgp.fr')
>>> info = client.get_info(station="FDFM")
>>> print(info)
[('G', 'FDFM')]
>>> info = client.get_info(station="FD?M", channel='*Z',
...                        level='channel')
>>> print(info)  
[('G', 'FDFM', '00', 'BHZ'), ('G', 'FDFM', '00', 'HHZ'),
 ('G', 'FDFM', '00', 'HNZ'), ('G', 'FDFM', '00', 'LHZ'),
 ('G', 'FDFM', '10', 'BHZ'), ('G', 'FDFM', '10', 'HHZ'),
 ('G', 'FDFM', '10', 'LHZ')]

Available station information is cached after the first request to the server, so use cache=False on subsequent requests if there is a need to force fetching new information from the server (should only concern programs running in background for a very long time).

Parameters
  • network (str) – Network code. Supports fnmatch wildcards, e.g. * and ?.

  • station (str) – Station code. Supports fnmatch wildcards, e.g. * and ?.

  • location (str) – Location code. Supports fnmatch wildcards, e.g. * and ?.

  • channel (str) – Channel code. Supports fnmatch wildcards, e.g. * and ?.

  • cache (bool) – Subsequent function calls are cached, use cache=False to force fetching station metadata again from the server.

Return type

list

Returns

list of 2-tuples (or 4-tuples with level='channel') with network/station (network/station/location/channel, respectively) code combinations for which data is served by the server.

Next Previous

© Copyright 2012-2022, The ObsPy Development Team (devs@obspy.org). Last updated on 2022-03-10T14:47:02.

Built with Sphinx 4.4.0 using a theme provided by Read the Docs.