{"action":"created","issue":{"url":"https://api.github.com/repos/obspy/obspy/issues/1458","repository_url":"https://api.github.com/repos/obspy/obspy","labels_url":"https://api.github.com/repos/obspy/obspy/issues/1458/labels{/name}","comments_url":"https://api.github.com/repos/obspy/obspy/issues/1458/comments","events_url":"https://api.github.com/repos/obspy/obspy/issues/1458/events","html_url":"https://github.com/obspy/obspy/issues/1458","id":160783599,"number":1458,"title":"read_inventory, sensor not parsed from xml","user":{"login":"ashtonflinders","id":6644367,"avatar_url":"https://avatars.githubusercontent.com/u/6644367?v=3","gravatar_id":"","url":"https://api.github.com/users/ashtonflinders","html_url":"https://github.com/ashtonflinders","followers_url":"https://api.github.com/users/ashtonflinders/followers","following_url":"https://api.github.com/users/ashtonflinders/following{/other_user}","gists_url":"https://api.github.com/users/ashtonflinders/gists{/gist_id}","starred_url":"https://api.github.com/users/ashtonflinders/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashtonflinders/subscriptions","organizations_url":"https://api.github.com/users/ashtonflinders/orgs","repos_url":"https://api.github.com/users/ashtonflinders/repos","events_url":"https://api.github.com/users/ashtonflinders/events{/privacy}","received_events_url":"https://api.github.com/users/ashtonflinders/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/obspy/obspy/labels/.core.inventory","name":".core.inventory","color":"0b02e1"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-06-16T23:31:15Z","updated_at":"2016-06-18T07:13:45Z","closed_at":"2016-06-17T19:57:50Z","body":"Python3.5, Obspy 1.0.1\r\n\r\nread_inventory does not parse the sensor information from a station xml file, example;\r\n```python\r\nimport obspy\r\nfrom obspy.clients.fdsn import Client\r\nfrom obspy import read_inventory\r\n\r\n\r\nnetwork=\"BK\"\r\nstation=\"KCC\"\r\nchannel=\"BHZ\"\r\nclient = Client(\"IRIS\")\r\nclient.get_stations(network=network, station=station,channel=channel,level=\"response\",format=\"xml\",filename=\"tmp.xml\")\r\ninventory=read_inventory(\"tmp.xml\",format=\"STATIONXML\")\r\nprint(inventory[0][0][1])\r\n```\r\noutput;\r\n```\r\nChannel 'BHZ', Location '' \r\n\tTime range: 1996-01-10T23:42:00.000000Z - 2003-07-17T23:00:00.000000Z\r\n\tLatitude: 37.32, Longitude: -119.32, Elevation: 888.1 m, Local Depth: 87.3 m\r\n\tAzimuth: 0.00 degrees from north, clockwise\r\n\tDip: -90.00 degrees down from horizontal\r\n\tChannel types: CONTINUOUS, GEOPHYSICAL\r\n\tSampling Rate: 20.00 Hz\r\n\tSensor: None\r\n\tResponse information available\r\n```\r\nbut, you can see in the saved xml file, the sensor type is there.\r\n"},"comment":{"url":"https://api.github.com/repos/obspy/obspy/issues/comments/226926721","html_url":"https://github.com/obspy/obspy/issues/1458#issuecomment-226926721","issue_url":"https://api.github.com/repos/obspy/obspy/issues/1458","id":226926721,"user":{"login":"megies","id":1842780,"avatar_url":"https://avatars.githubusercontent.com/u/1842780?v=3","gravatar_id":"","url":"https://api.github.com/users/megies","html_url":"https://github.com/megies","followers_url":"https://api.github.com/users/megies/followers","following_url":"https://api.github.com/users/megies/following{/other_user}","gists_url":"https://api.github.com/users/megies/gists{/gist_id}","starred_url":"https://api.github.com/users/megies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/megies/subscriptions","organizations_url":"https://api.github.com/users/megies/orgs","repos_url":"https://api.github.com/users/megies/repos","events_url":"https://api.github.com/users/megies/events{/privacy}","received_events_url":"https://api.github.com/users/megies/received_events","type":"User","site_admin":false},"created_at":"2016-06-18T07:13:45Z","updated_at":"2016-06-18T07:13:45Z","body":"In principle we could look through the sensor information if `type` is `None` and see if something else is set.. not sure how necessary this is though.."}}
{"actor":{"display_login":"megies"}}