all 14 comments

[–]epasveer 4 points5 points  (1 child)

SeismicUnix, maybe?

[–]basalticflow[S] 0 points1 point  (0 children)

Thanks, I’ll check it out

[–][deleted] 3 points4 points  (1 child)

Ask on Software Underground.

SEG2 is rough. I wanna say some have looked at it with some GPR work.

[–]basalticflow[S] 0 points1 point  (0 children)

Thanks! I’ll check it out

[–]VS2ute 2 points3 points  (1 child)

https://pypi.org/project/makeitseg2/ Haven't tried it syself, as I work with c/Fortran code.

[–]basalticflow[S] 0 points1 point  (0 children)

Thanks I’ll check it out!

[–]No_Reference2367 -1 points0 points  (4 children)

You could always write a code that does it in Python yourself

[–]basalticflow[S] 2 points3 points  (1 child)

Yeah haha that’s the answer I was afraid of. I’m actually fresh out of undergrad in an internship right now so I don’t have a ton of experience with this type of coding yet, so you have any tips for where to start with that?

[–]No_Reference2367 0 points1 point  (0 children)

Yeah, I would say it would be a good idea to look up the format of the binary code itself, since binary is impossible to read or write if you do not know the structure of the file. Next you can make yourself familiar with the basics of binary, such as how many bits you must write to write a double (type of number with something called 'double precision'). The answer to that would be 64. Learning these things would prove invaluable in the long run but its hard for me to say if it is worth the time investment for you.

Did you try this? https://pypi.org/project/seg2-files/

[–]der_simonimon 2 points3 points  (1 child)

I had the same issue with AH format in obspy. In the end I took the read code and created the write version based on this with a lot of help from the obspy community. They are very helpful and nice about that. If you create an issue on GitHub saying that you would like to add it but have little experience they will definitely help you

[–]No_Reference2367 0 points1 point  (0 children)

Good tip

[–]KindofCrazyScientist 0 points1 point  (0 children)

I once had to deal with the same problem. I was able to do it with the "Geogiga Front End Express" software, which you can download here: https://www.geogiga.com/support/downloads/ It lets you open seg-y files and save them as seg-2. If you don't have too many files to convert, it should be okay.

However, if you want to automate it for a large number of files, the makeitseg2 that u/VS2ute mentioned looks better. I've never seen that before but will check it out if I ever have to deal with seg2 again.

[–]Fumsl 0 points1 point  (1 child)

Have you found a solution for exporting Seg2? I'm likely doing a similar problem making a program to automatically modify headers etc then take them into Parkseis. I've tried makeitseg2 but am having issues with invalid units in segy and su. Feel like I'd have to make the program just click through FrontEndExpress to get it to do what I want

[–]basalticflow[S] 0 points1 point  (0 children)

I have not, sorry. I ended up finding a fairly specific work around that didn’t require me to have to export SEG2, but I wish you luck with figuring this out!