420 Posts in 208 Topics by 63 members

How do I...

Forum » How do I... » ...export seismic data

If this is your first visit, you will need to register before you can post. However, you can browse all messages below.

Moderators: Andy Juniper , Guy Maslen , Keleigh Jones

Page: 1 Go to End
Author Topic: ...export seismic data 2210 Views

...export seismic data Link to this post

Hello there,

I was trying to find a way to export my seismic line (.segy or even better .dsc) into a simple triplet xyz (offset, time, amplitude) that can be easily manipulated with, for example, Python or GMT. I came across a question on this forum where a user shared a python code to plot some seismic data with matplotlib. However, the link is a bit old and does not work anymore. Any suggestion? Or anywhere I can find a sort of repository of Python codes to be run through Claritas?

Re: ...export seismic data Link to this post

Within GLOBE Claritas you can make use of the RUNPYTHON module to run your own Python code within the software.

The WRITEGRID module can be used to write out a portion of seismic data to a MatLab or NetCDF format output file. You can specify a range of traces to write (using KEYNAME and KEYRANGE) and/or a time-window (using TRANGE). The output formats for this module include:
SEGY: A simple SEG-Y file using the Claritas grid-io functions
NetCDF: A NetCDF binary grid file
GMT: A GMT-format NetCDF file
Simple: A simple binary format consisting of two integers (nx,ny) followed by nx*ny values (all 4-byte)
Matlab: Level-1 MatLab file (a grid of 32-bit real floats)

Also MatLab should be able to directly read the hdf5 format files created by the SEISWRITE module in GLOBE Claritas.

Re: ...export seismic data Link to this post

Great answer, many thanks for that! I should have looked more into Globe Clartias first, my bad! The writegrid process module is fantastic and with a GMT option, big thumb up! Much appreciated. I'm still converting the GMT grid to xyz though, if anybody is interested in having an ASCII file out of it and then plotting it with pswiggle - but this is not Claritas anymore.
Cheers.

    2210 Views
Go to Top