stuliveshere / PySeis

Pure python seismic data processing
http://stuliveshere.github.io/PySeis
MIT License
68 stars 20 forks source link

example scripts dont work with current module #6

Closed stuliveshere closed 7 months ago

stuliveshere commented 7 years ago

example scripts import toolbox - this fails with import PySeis

Andersongeofisco commented 6 years ago

HI @smithkevinc Is there a tutorial in some place to seismic data processing? I would like to use python to seismic data processing but I am a beginner python programmer. Thanks!

stuliveshere commented 6 years ago

To be honest the main code in PySeis is a bit of a mess at the moment.

Try

https://github.com/stuliveshere/SeismicProcessing2015 https://github.com/stuliveshere/SeismicProcessing2015

It contains exercises as well as a stable version of the code.

The staff folders contain a tex folder which has the prac sheet as well as full source code at the end. Note this project is a teaching project for both python and seismic - if you want to work through it i'm happy to answer any questions.

Cheers,

Stu

On Wed., 29 Aug. 2018, 11:37 pm Andersongeofisco, notifications@github.com wrote:

HI @smithkevinc https://github.com/smithkevinc Is there a tutorial in some place to seismic data processing? I would like to use python to seismic data processing but I am a beginner python programmer. Thanks!

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/stuliveshere/PySeis/issues/6#issuecomment-416956248, or mute the thread https://github.com/notifications/unsubscribe-auth/ACt_rUY4K1aaC6n_82-I_FrMkkx207V8ks5uVpkcgaJpZM4K7JB6 .

Andersongeofisco commented 6 years ago

Thanks Very much for your help! I Will try.

Andersongeofisco commented 6 years ago

That's exactly what I was looking for. I've been working with FORTRAN for a long time, but now I wanted to start learning another programming language. I chose python. Actually I was behind 3D visualization, but mastering the language is the first step. I will train using these modules. If I have any questions, may I ask? Thank you!

stuliveshere commented 6 years ago

Ask away.

Cheers, Stu

On Thu, Aug 30, 2018 at 12:24 PM Andersongeofisco notifications@github.com wrote:

That's exactly what I was looking for. I've been working with FORTRAN for a long time, but now I wanted to start learning another programming language. I chose python. Actually I was behind 3D visualization, but mastering the language is the first step. I will train using these modules. If I have any questions, may I ask? Thank you!

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/stuliveshere/PySeis/issues/6#issuecomment-417168378, or mute the thread https://github.com/notifications/unsubscribe-auth/ACt_rai76USJ2nI5jdq9hfF_O_jfMvUkks5uV0zugaJpZM4K7JB6 .

Andersongeofisco commented 6 years ago

Sorry to bother you again, but I have a question. The codes are working perfectly, but the seismic data (raw.su) is not in the directories, I downloaded directly on the internet, but I do not know the format of the data (1981-39) that I found in the site https: //energy.usgs .gov / GeochemistryGeophysics / SeismicDataProcessingInterpretation / NPRASeismicDataArchive.aspx.

If it's in segy I can use seismic unix to convert the data.

I'm taking this class step by step: https://github.com/stuliveshere/SeismicProcessing2015

stuliveshere commented 6 years ago

You should be able to download the segy files from that website. I've added a screen shot of what I get. You will need to convert them to su. It can be done in pyseis, but seismix unix is probably easier to get started.

raw.su is all of the segys converted to su and combined into a single file with # cat file1.su file2.su > raw.su

If you get stuck https://drive.google.com/open?id=1HLr3Hs6J1x4V9ZGfvvvme_x1_2Id-Fnn

it's 524MB.

Cheers,

stu

Cheers, Stu

On Fri, Aug 31, 2018 at 5:42 AM Andersongeofisco notifications@github.com wrote:

Sorry to bother you again, but I have a question. The codes are working perfectly, but the seismic data (raw.su) is not in the directories, I downloaded directly on the internet, but I do not know the format of the data (1981-39) that I found in the site https: //energy.usgs .gov / GeochemistryGeophysics / SeismicDataProcessingInterpretation / NPRASeismicDataArchive.aspx.

If it's in segy I can use seismic unix to convert the data.

I'm taking this class step by step: https://github.com/stuliveshere/SeismicProcessing2015

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/stuliveshere/PySeis/issues/6#issuecomment-417443278, or mute the thread https://github.com/notifications/unsubscribe-auth/ACt_rQkQZovVGxYttPxY8AAUuwR2sxEtks5uWEAYgaJpZM4K7JB6 .

Andersongeofisco commented 6 years ago

erro-1

Andersongeofisco commented 6 years ago

I found this error now. I think this error is because the code can't read the ns value in the header.

stuliveshere commented 7 months ago

IO is being ported to a different method, closing due to age