obspy/obspy — pull request #702 by megies (2013-12-23 11:27:03+00:00)
Title: fdsn with eida

Hi,

I am having issues using the obspy.fdsn with the eida node at ETH Zurich. The request below works with in the browser using the following command:

http://eida.ethz.ch/fdsnws/event/1/query?starttime=2005-09-01T14:00:00&endtime=2005-10-01T00:00:00&minmagnitude=3.0

Requesting the same data through obspy returns the error listed below.

```python
from obspy.fdsn import Client
from obspy import UTCDateTime
client = Client("http://eida.ethz.ch/",debug=True)
starttime=UTCDateTime("2005-09-01T14:00:00")
endtime=UTCDateTime("2005-10-01T00:00:00")
cat = client.get_events(starttime=starttime,endtime=endtime,minmagnitude=3.0)
print(cat)
```

```
behry@system-laptop:~/uni/code_snippets/Python$ ./fdsn_example.py
Base URL: http://eida.ethz.ch
Request Headers: {'User-Agent': 'ObsPy 0.9.0rc1-13-ga884 (Linux-3.8.0-34-generic-x86_64-with-Ubuntu-13.04-raring, Python 2.7.4)'}
Downloading http://eida.ethz.ch/fdsnws/dataselect/1/application.wadl
Downloading http://eida.ethz.ch/fdsnws/event/1/application.wadl
Downloading http://eida.ethz.ch/fdsnws/station/1/application.wadl
Downloading http://eida.ethz.ch/fdsnws/event/1/catalogs
Downloading http://eida.ethz.ch/fdsnws/event/1/contributors
Downloaded http://eida.ethz.ch/fdsnws/event/1/contributors with HTTP code: 200
Downloaded http://eida.ethz.ch/fdsnws/event/1/catalogs with HTTP code: 200
Downloaded http://eida.ethz.ch/fdsnws/event/1/application.wadl with HTTP code: 200
Downloaded http://eida.ethz.ch/fdsnws/dataselect/1/application.wadl with HTTP code: 200
Downloaded http://eida.ethz.ch/fdsnws/station/1/application.wadl with HTTP code: 200
Traceback (most recent call last):
File "./fdsn_example.py", line 12, in
client = Client("http://eida.ethz.ch/",debug=True)
File "/usr/local/src/obspy_yb/obspy/fdsn/client.py", line 116, in __init__
self._discover_services()
File "/usr/local/src/obspy_yb/obspy/fdsn/client.py", line 931, in _discover_services
self.services["event"] = WADLParser(wadl).parameters
File "/usr/local/src/obspy_yb/obspy/fdsn/wadl_parser.py", line 64, in __init__
raise ValueError(msg)
ValueError: Could not find any parameters
```

Cheers,
Yannik