{"action":"created","issue":{"url":"https://api.github.com/repos/obspy/obspy/issues/971","labels_url":"https://api.github.com/repos/obspy/obspy/issues/971/labels{/name}","comments_url":"https://api.github.com/repos/obspy/obspy/issues/971/comments","events_url":"https://api.github.com/repos/obspy/obspy/issues/971/events","html_url":"https://github.com/obspy/obspy/pull/971","id":60156091,"number":971,"title":"Seisan waveforms misaligned / wrong by one offset","user":{"login":"mbyt","id":1878241,"avatar_url":"https://avatars.githubusercontent.com/u/1878241?v=3","gravatar_id":"","url":"https://api.github.com/users/mbyt","html_url":"https://github.com/mbyt","followers_url":"https://api.github.com/users/mbyt/followers","following_url":"https://api.github.com/users/mbyt/following{/other_user}","gists_url":"https://api.github.com/users/mbyt/gists{/gist_id}","starred_url":"https://api.github.com/users/mbyt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbyt/subscriptions","organizations_url":"https://api.github.com/users/mbyt/orgs","repos_url":"https://api.github.com/users/mbyt/repos","events_url":"https://api.github.com/users/mbyt/events{/privacy}","received_events_url":"https://api.github.com/users/mbyt/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/obspy/obspy/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"mbyt","id":1878241,"avatar_url":"https://avatars.githubusercontent.com/u/1878241?v=3","gravatar_id":"","url":"https://api.github.com/users/mbyt","html_url":"https://github.com/mbyt","followers_url":"https://api.github.com/users/mbyt/followers","following_url":"https://api.github.com/users/mbyt/following{/other_user}","gists_url":"https://api.github.com/users/mbyt/gists{/gist_id}","starred_url":"https://api.github.com/users/mbyt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbyt/subscriptions","organizations_url":"https://api.github.com/users/mbyt/orgs","repos_url":"https://api.github.com/users/mbyt/repos","events_url":"https://api.github.com/users/mbyt/events{/privacy}","received_events_url":"https://api.github.com/users/mbyt/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/obspy/obspy/milestones/5","html_url":"https://github.com/obspy/obspy/milestones/0.10.0","labels_url":"https://api.github.com/repos/obspy/obspy/milestones/5/labels","id":449804,"number":5,"title":"0.10.0","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":13,"closed_issues":153,"state":"open","created_at":"2013-10-08T14:41:54Z","updated_at":"2015-03-06T21:14:40Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-03-06T20:43:54Z","updated_at":"2015-03-06T22:07:53Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/obspy/obspy/pulls/971","html_url":"https://github.com/obspy/obspy/pull/971","diff_url":"https://github.com/obspy/obspy/pull/971.diff","patch_url":"https://github.com/obspy/obspy/pull/971.patch"},"body":"Resolves #970. supersedes #969.\r\n\r\nOriginal #969 description:\r\n\r\n\r\n----\r\nIt seems there is a bug when importing SEISAN waveform files. This can be checked when importing the test files in obspy/seisan/tests . Basicaly, the last sample of the data array usually has an unusually high value, resulting in a strange jerk/pulse in the waveform file. Because of this I usually just do\r\n```python\r\nfor el in st:\r\n    el.data = el.data[:-1]\r\n```\r\nto delete the last sample...\r\n\r\nI provided two waveform files, one in SEISAN, and another in MSEED which was converted from the SEISAN waveform using SEISAN/wavetool . However, I have tested the test waveforms already provided in the repository obspy/seisan/tests/data and the results is the same, altough the amplitude of the waveforms does obsfuscate this bug sometimes..."},"comment":{"url":"https://api.github.com/repos/obspy/obspy/issues/comments/77645169","html_url":"https://github.com/obspy/obspy/pull/971#issuecomment-77645169","issue_url":"https://api.github.com/repos/obspy/obspy/issues/971","id":77645169,"user":{"login":"landscape-bot","id":10010231,"avatar_url":"https://avatars.githubusercontent.com/u/10010231?v=3","gravatar_id":"","url":"https://api.github.com/users/landscape-bot","html_url":"https://github.com/landscape-bot","followers_url":"https://api.github.com/users/landscape-bot/followers","following_url":"https://api.github.com/users/landscape-bot/following{/other_user}","gists_url":"https://api.github.com/users/landscape-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/landscape-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/landscape-bot/subscriptions","organizations_url":"https://api.github.com/users/landscape-bot/orgs","repos_url":"https://api.github.com/users/landscape-bot/repos","events_url":"https://api.github.com/users/landscape-bot/events{/privacy}","received_events_url":"https://api.github.com/users/landscape-bot/received_events","type":"User","site_admin":false},"created_at":"2015-03-06T22:07:53Z","updated_at":"2015-03-06T22:07:53Z","body":"[![Code Health](https://landscape.io/badge/121459/landscape.svg?style=flat)](https://landscape.io/diff/106899)\nCode quality remained the same when pulling **[4ea508e](https://github.com/mbyt/obspy/commit/4ea508e8c66f4996f284f10f2c5b963b94d44ff8) on mbyt:seisan_waveform** into **[e7689df](https://github.com/obspy/obspy/commit/e7689dff74164ddddee3afa8a9b2d93166a842b4) on obspy:master**."}}