{"action":"created","issue":{"url":"https://api.github.com/repos/obspy/obspy/issues/1771","repository_url":"https://api.github.com/repos/obspy/obspy","labels_url":"https://api.github.com/repos/obspy/obspy/issues/1771/labels{/name}","comments_url":"https://api.github.com/repos/obspy/obspy/issues/1771/comments","events_url":"https://api.github.com/repos/obspy/obspy/issues/1771/events","html_url":"https://github.com/obspy/obspy/issues/1771","id":225748494,"number":1771,"title":"SEG-Y Read 2D data to some kind of XYZ amplitude array","user":{"login":"8556732","id":24994741,"avatar_url":"https://avatars1.githubusercontent.com/u/24994741?v=3","gravatar_id":"","url":"https://api.github.com/users/8556732","html_url":"https://github.com/8556732","followers_url":"https://api.github.com/users/8556732/followers","following_url":"https://api.github.com/users/8556732/following{/other_user}","gists_url":"https://api.github.com/users/8556732/gists{/gist_id}","starred_url":"https://api.github.com/users/8556732/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/8556732/subscriptions","organizations_url":"https://api.github.com/users/8556732/orgs","repos_url":"https://api.github.com/users/8556732/repos","events_url":"https://api.github.com/users/8556732/events{/privacy}","received_events_url":"https://api.github.com/users/8556732/received_events","type":"User","site_admin":false},"labels":[{"id":50916692,"url":"https://api.github.com/repos/obspy/obspy/labels/.io.segy","name":".io.segy","color":"0404B4","default":false},{"id":13498874,"url":"https://api.github.com/repos/obspy/obspy/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-05-02T16:24:09Z","updated_at":"2017-05-03T08:52:48Z","closed_at":null,"body":"Hi all, \r\n\r\nReally newbish question. I'm following tutorials on reading SEG-Y files using obspy, and I have a bunch of 2D lines that form a regular grid (100mx100m) that I would like to attempt to merge into a 3D pseudo cube. \r\n\r\nThe first, and biggest task that I can see is actually reading the data and knowing what I am doing with it. Because they are a bunch of 2D lines their `cdp` and `fldr` header fields refer to the position of the trace within that particular line and are not much use in the merged file. Taking a look at the headers using the freeware SeiSee tells me that the trace positions for these particular lines have been recorded in the `sx` and `sy` byte positions (73-80). All lines have the same sampling rate, and total number of samples, so are regular in the z dimension. I plan to regularise the XY data to a grid, then interpolate into a pseudo cube in the z dimension a sample at a time. \r\n\r\nI am way more familiar with working point data, and numpy arrays than SEG-Y files, so my question to this community is how to just 'get at' the data I am interested in, and to get some documentation on how to manipulate a segy file read by the `_read_segy` command. \r\n\r\nI've taken a look at previous posts and noticed this\r\n\r\nhttps://github.com/obspy/obspy/issues/279\r\n\r\nWhich was useful\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/obspy/obspy/issues/comments/298855890","html_url":"https://github.com/obspy/obspy/issues/1771#issuecomment-298855890","issue_url":"https://api.github.com/repos/obspy/obspy/issues/1771","id":298855890,"user":{"login":"megies","id":1842780,"avatar_url":"https://avatars2.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":"2017-05-03T08:52:48Z","updated_at":"2017-05-03T08:52:48Z","body":"I'm not too much into segy details, if you don't get replies by a dev you might consider going via the obspy users mailing list, there might be some segy users on it."}}
{"actor":{"display_login":"megies"}}