Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can your library read SEGY files? #5

Open
sadimoodi opened this issue Oct 31, 2019 · 3 comments
Open

can your library read SEGY files? #5

sadimoodi opened this issue Oct 31, 2019 · 3 comments

Comments

@sadimoodi
Copy link

i tried to load a SEG, SEGY files but couldnt, does your library supports it?

@AlainPlattner
Copy link
Member

Hi,
Yes, I haven't yet built in the ability to load SEG or SEGY files. An option could be to load your SEGY file using obspy (https://github.com/obspy/obspy/wiki)[https://github.com/obspy/obspy/wiki], here is a description of how to do that (https://docs.obspy.org/master/packages/obspy.io.segy.html)[https://docs.obspy.org/master/packages/obspy.io.segy.html], and then export them as a depth - time binary file .dt1, you can then hand-write a header in the style of the example data .h. This should allow you to load the data.

@MumMumMum
Copy link

Hi Alain,
With help of your answer, I landed to link (https://docs.obspy.org/tutorial/code_snippets/export_seismograms_to_ascii.html)[https://docs.obspy.org/tutorial/code_snippets/export_seismograms_to_ascii.html]

Looking at code I could make out I need to give input obspy file and output .dt1 file, a calibration factor and a np file is written in array.

What was not clear is, The written file is it in really dt1 format or just numpy array.
Also
"you can then hand-write a header in the style of the example data .h"... This part was not clear as I did not see data.h in example.
Can you please help here.

Can Segy be exported to dt1 using this method?

Thanks again for your time and support.
Thanks and Regards
Manisha

@MumMumMum
Copy link

Hi Alain,
Thanks for your reply.
With help of obspy I read the data in traces and made a data matrix as required by GprPY and then displayed the same.
It worked fine.

Thanks a ton!!!
Thanks again
Manisha

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants