{"action":"created","issue":{"url":"https://api.github.com/repos/obspy/obspy/issues/1577","repository_url":"https://api.github.com/repos/obspy/obspy","labels_url":"https://api.github.com/repos/obspy/obspy/issues/1577/labels{/name}","comments_url":"https://api.github.com/repos/obspy/obspy/issues/1577/comments","events_url":"https://api.github.com/repos/obspy/obspy/issues/1577/events","html_url":"https://github.com/obspy/obspy/issues/1577","id":185746820,"number":1577,"title":"get_stations no longer works for IRIS client","user":{"login":"romaguir","id":17861009,"avatar_url":"https://avatars.githubusercontent.com/u/17861009?v=3","gravatar_id":"","url":"https://api.github.com/users/romaguir","html_url":"https://github.com/romaguir","followers_url":"https://api.github.com/users/romaguir/followers","following_url":"https://api.github.com/users/romaguir/following{/other_user}","gists_url":"https://api.github.com/users/romaguir/gists{/gist_id}","starred_url":"https://api.github.com/users/romaguir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romaguir/subscriptions","organizations_url":"https://api.github.com/users/romaguir/orgs","repos_url":"https://api.github.com/users/romaguir/repos","events_url":"https://api.github.com/users/romaguir/events{/privacy}","received_events_url":"https://api.github.com/users/romaguir/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-27T18:34:20Z","updated_at":"2016-10-27T20:36:34Z","closed_at":null,"body":"Hello,\r\nIt appears that I can no longer retrieve stations using the IRIS client.  Below is a script that I could run several months ago, but now gives me the error 'The current client does not have a station service.'\r\nIs there a reason IRIS no longer offers this service?  I am using obspy v1.0.1 on Ubuntu, installed via anaconda.\r\n\r\n`from obspy.clients.fdsn.client import Client`\r\n`from obspy import UTCDateTime`\r\n`client = Client(‘iris’)`\r\n`start = UTCDateTime(‘2006-01-01’)`\r\n`end = UTCDateTime(‘2008-01-01’)`\r\n`network = client.get_stations(network='YS',station='*',starttime=start,endtime=end)`\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/obspy/obspy/issues/comments/256761599","html_url":"https://github.com/obspy/obspy/issues/1577#issuecomment-256761599","issue_url":"https://api.github.com/repos/obspy/obspy/issues/1577","id":256761599,"user":{"login":"romaguir","id":17861009,"avatar_url":"https://avatars.githubusercontent.com/u/17861009?v=3","gravatar_id":"","url":"https://api.github.com/users/romaguir","html_url":"https://github.com/romaguir","followers_url":"https://api.github.com/users/romaguir/followers","following_url":"https://api.github.com/users/romaguir/following{/other_user}","gists_url":"https://api.github.com/users/romaguir/gists{/gist_id}","starred_url":"https://api.github.com/users/romaguir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romaguir/subscriptions","organizations_url":"https://api.github.com/users/romaguir/orgs","repos_url":"https://api.github.com/users/romaguir/repos","events_url":"https://api.github.com/users/romaguir/events{/privacy}","received_events_url":"https://api.github.com/users/romaguir/received_events","type":"User","site_admin":false},"created_at":"2016-10-27T20:36:34Z","updated_at":"2016-10-27T20:36:34Z","body":"Thanks for checking this.  That's interesting that the code works for you... I updated to obspy 1.0.2 and I still get the error 'The current client does not have a station service.'  Looking at the client information confirms that the only services available are 'available_event_catalogs' and 'available_event_contributors'.\r\n\r\n`client = Client(\"IRIS\")`\r\n`client`\r\n\r\nFDSN Webservice Client (base url: http://service.iris.edu)\r\nAvailable Services: 'available_event_catalogs', 'available_event_contributors'\r\n\r\nUse e.g. client.help('dataselect') for the\r\nparameter description of the individual services\r\nor client.help() for parameter description of\r\nall webservices."}}
{"actor":{"display_login":"romaguir"}}