{"action":"created","issue":{"url":"https://api.github.com/repos/obspy/obspy/issues/1457","repository_url":"https://api.github.com/repos/obspy/obspy","labels_url":"https://api.github.com/repos/obspy/obspy/issues/1457/labels{/name}","comments_url":"https://api.github.com/repos/obspy/obspy/issues/1457/comments","events_url":"https://api.github.com/repos/obspy/obspy/issues/1457/events","html_url":"https://github.com/obspy/obspy/issues/1457","id":160766227,"number":1457,"title":"SAC output does not use obspy headers","user":{"login":"trichter","id":2046150,"avatar_url":"https://avatars.githubusercontent.com/u/2046150?v=3","gravatar_id":"","url":"https://api.github.com/users/trichter","html_url":"https://github.com/trichter","followers_url":"https://api.github.com/users/trichter/followers","following_url":"https://api.github.com/users/trichter/following{/other_user}","gists_url":"https://api.github.com/users/trichter/gists{/gist_id}","starred_url":"https://api.github.com/users/trichter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trichter/subscriptions","organizations_url":"https://api.github.com/users/trichter/orgs","repos_url":"https://api.github.com/users/trichter/repos","events_url":"https://api.github.com/users/trichter/events{/privacy}","received_events_url":"https://api.github.com/users/trichter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/obspy/obspy/labels/.io.sac","name":".io.sac","color":"0404B4"},{"url":"https://api.github.com/repos/obspy/obspy/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/obspy/obspy/labels/release%20blocker","name":"release blocker","color":"e10c02"}],"state":"open","locked":false,"assignee":{"login":"jkmacc-LANL","id":6475152,"avatar_url":"https://avatars.githubusercontent.com/u/6475152?v=3","gravatar_id":"","url":"https://api.github.com/users/jkmacc-LANL","html_url":"https://github.com/jkmacc-LANL","followers_url":"https://api.github.com/users/jkmacc-LANL/followers","following_url":"https://api.github.com/users/jkmacc-LANL/following{/other_user}","gists_url":"https://api.github.com/users/jkmacc-LANL/gists{/gist_id}","starred_url":"https://api.github.com/users/jkmacc-LANL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkmacc-LANL/subscriptions","organizations_url":"https://api.github.com/users/jkmacc-LANL/orgs","repos_url":"https://api.github.com/users/jkmacc-LANL/repos","events_url":"https://api.github.com/users/jkmacc-LANL/events{/privacy}","received_events_url":"https://api.github.com/users/jkmacc-LANL/received_events","type":"User","site_admin":false},"assignees":[{"login":"jkmacc-LANL","id":6475152,"avatar_url":"https://avatars.githubusercontent.com/u/6475152?v=3","gravatar_id":"","url":"https://api.github.com/users/jkmacc-LANL","html_url":"https://github.com/jkmacc-LANL","followers_url":"https://api.github.com/users/jkmacc-LANL/followers","following_url":"https://api.github.com/users/jkmacc-LANL/following{/other_user}","gists_url":"https://api.github.com/users/jkmacc-LANL/gists{/gist_id}","starred_url":"https://api.github.com/users/jkmacc-LANL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkmacc-LANL/subscriptions","organizations_url":"https://api.github.com/users/jkmacc-LANL/orgs","repos_url":"https://api.github.com/users/jkmacc-LANL/repos","events_url":"https://api.github.com/users/jkmacc-LANL/events{/privacy}","received_events_url":"https://api.github.com/users/jkmacc-LANL/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/obspy/obspy/milestones/13","html_url":"https://github.com/obspy/obspy/milestones/1.0.2","labels_url":"https://api.github.com/repos/obspy/obspy/milestones/13/labels","id":1383705,"number":13,"title":"1.0.2","description":"","creator":{"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},"open_issues":8,"closed_issues":39,"state":"open","created_at":"2015-10-29T15:43:09Z","updated_at":"2016-07-08T09:22:15Z","due_on":"2016-07-28T22:00:00Z","closed_at":null},"comments":6,"created_at":"2016-06-16T21:33:20Z","updated_at":"2016-07-08T12:48:56Z","closed_at":null,"body":"io.sac should propagate relevant obspy headers (similar to #1317).\r\nFor example: Now (obspy 1.0.1), reading SAC files, rotating them and writing to SAC gives the wrong seed ids.\r\n\r\n```\r\nfrom obspy import read, Stream\r\nfrom obspy.io.sac.sactrace import SACTrace\r\n\r\ndef simulate_SAC_write_and_read(stream):\r\n    return Stream([SACTrace.from_obspy_trace(tr).to_obspy_trace() for tr in stream])\r\n\r\nstream = simulate_SAC_write_and_read(read())\r\nprint stream[0].id\r\nstream.rotate('ZNE->LQT', 10, 10)\r\nprint stream[0].id\r\nstream = simulate_SAC_write_and_read(stream)\r\nprint stream[0].id\r\n```\r\n\r\n```\r\nBW.RJOB..EHZ\r\nBW.RJOB..EHL\r\nBW.RJOB..EHZ\r\n```"},"comment":{"url":"https://api.github.com/repos/obspy/obspy/issues/comments/231350780","html_url":"https://github.com/obspy/obspy/issues/1457#issuecomment-231350780","issue_url":"https://api.github.com/repos/obspy/obspy/issues/1457","id":231350780,"user":{"login":"jkmacc-LANL","id":6475152,"avatar_url":"https://avatars.githubusercontent.com/u/6475152?v=3","gravatar_id":"","url":"https://api.github.com/users/jkmacc-LANL","html_url":"https://github.com/jkmacc-LANL","followers_url":"https://api.github.com/users/jkmacc-LANL/followers","following_url":"https://api.github.com/users/jkmacc-LANL/following{/other_user}","gists_url":"https://api.github.com/users/jkmacc-LANL/gists{/gist_id}","starred_url":"https://api.github.com/users/jkmacc-LANL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkmacc-LANL/subscriptions","organizations_url":"https://api.github.com/users/jkmacc-LANL/orgs","repos_url":"https://api.github.com/users/jkmacc-LANL/repos","events_url":"https://api.github.com/users/jkmacc-LANL/events{/privacy}","received_events_url":"https://api.github.com/users/jkmacc-LANL/received_events","type":"User","site_admin":false},"created_at":"2016-07-08T12:48:56Z","updated_at":"2016-07-08T12:48:56Z","body":"Hi, I've been on vacation.  I will try to do this within a week.  My intent is to also get to #1432 ."}}
{"actor":{"display_login":"jkmacc-LANL"}}