{"id":169,"date":"2008-05-24T08:35:46","date_gmt":"2008-05-24T08:35:46","guid":{"rendered":"http:\/\/ahay.org\/blog\/?p=169"},"modified":"2015-08-04T23:51:42","modified_gmt":"2015-08-04T23:51:42","slug":"when-converting-from-seg-y-to-rsf-how-do-i-deal-with-non-standard-trace-headers","status":"publish","type":"post","link":"https:\/\/ahay.org\/blog\/2008\/05\/24\/when-converting-from-seg-y-to-rsf-how-do-i-deal-with-non-standard-trace-headers\/","title":{"rendered":"When converting from SEG-Y to RSF, how do I deal with non-standard trace headers?"},"content":{"rendered":"<p><a href=\"\/RSF\/sfsegyread.html\">sfsegyread<\/a> currently limits the number of trace header keys to 71. However, you can remap a non-standard header. For example,<\/p>\n<div class=\"code-box\"><div class=\"code-title\"><i class=\"fa fa-code\"><\/i> <div class=\"pull-right\"><a href=\"#\" class=\"btn btn-default btn-xs toggle-code\" data-toggle=\"tooltip\" title=\"Toggle code\"><i class=\"fa fa-toggle-up\"><\/i><\/a><\/div><\/div><pre >\nsfsegyread < file.segy tfile=tfile.rsf swdep=188 > file.rsf\n<\/pre><\/div>\n<p>will map the header value at 189-193 bytes to the &#8220;swdep&#8221; standard header.<br \/>\nNote that numeration starts at 0 at and that the number of bytes in the<br \/>\nheaders (2 or 4) should match. You can test the output by running<\/p>\n<div class=\"code-box\"><div class=\"code-title\"><i class=\"fa fa-code\"><\/i> <div class=\"pull-right\"><a href=\"#\" class=\"btn btn-default btn-xs toggle-code\" data-toggle=\"tooltip\" title=\"Toggle code\"><i class=\"fa fa-toggle-up\"><\/i><\/a><\/div><\/div><pre >\nsfheaderattr < tfile.rsf\n<\/pre><\/div>\n","protected":false},"excerpt":{"rendered":"<p>sfsegyread currently limits the number of trace header keys to 71. However, you can remap a non-standard header. For example, sfsegyread < file.segy tfile=tfile.rsf swdep=188 > file.rsf will map the header value at 189-193 bytes to the &#8220;swdep&#8221; standard header. Note that numeration starts at 0 at and that the number of bytes in the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_import_markdown_pro_load_document_selector":0,"_import_markdown_pro_submit_text_textarea":"","activitypub_content_warning":"","activitypub_content_visibility":"local","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"","footnotes":""},"categories":[4],"tags":[],"class_list":["post-169","post","type-post","status-publish","format-standard","hentry","category-faq"],"_links":{"self":[{"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/posts\/169","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/comments?post=169"}],"version-history":[{"count":1,"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/posts\/169\/revisions"}],"predecessor-version":[{"id":746,"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/posts\/169\/revisions\/746"}],"wp:attachment":[{"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/media?parent=169"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/categories?post=169"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/tags?post=169"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}