obspy.clients.fdsn.routing.routing_client.BaseRoutingClient.__init__

BaseRoutingClient.__init__(debug=False, timeout=120, include_providers=None, exclude_providers=None, credentials=None)[source]
Parameters:
  • routing_type (str) The type of router to initialize. For details see RoutingClient().
  • exclude_providers (str or list of str) Get no data from these providers. Can be the full HTTP address or one of the shortcuts ObsPy knows about.
  • include_providers (str or list of str) Get data only from these providers. Can be the full HTTP address of one of the shortcuts ObsPy knows about.
  • credentials (dict) Credentials for the individual data centers as a dictionary that maps base url of FDSN web service to either username/password or EIDA token, e.g. credentials={ 'geofon.gfz-potsdam.de': {'eida_token': 'my_token_file.txt'}, 'service.iris.edu': {'user': 'me', 'password': 'my_pass'} 'EIDA_TOKEN': '/path/to/token.txt' } The root level 'EIDA_TOKEN' will be applied to all data centers that claim to support the /auth route and don’t have data center specific credentials. You can also use a URL mapping as for the normal FDSN client instead of the URL.