[OpendTect_Developers] about the CBVS format

Bert Bril bert at opendtect.org
Fri Apr 1 09:45:34 CEST 2011


Hi all,


Yan wrote:

> I am reading the OD source codes recently, and i have found that the OD
> used its own file format, which is called CBVS. However, i can not find
> any specifications about the CBVS file format, So could anyone give me
> some help files about this format ?

There are no help files from us, because the format is not defined as 
such. It has changed, and will change from version to version. You can't 
even be sure that an inline is stored as an inline. If you want to know 
the actual format at a certain point in time: read the source code.

I find this comparable to asking a definition of the JPEG format. Fun if 
you're into that stuff, but anyone else would just use the available 
libraries to access it.


Some OpendTect objects:

1) SeisTrcReader and SeisTrcWriter. Straightforward read/write of 
seismic traces to/from 2D, 3D, pre- and post-stack.

2) CBVSReadMgr and CBVSWriteMgr. Low-level stuff. Not recommended. 
Interface may change heavily. I just finished re-working quite a bit; 
that will be in 4.3.

3) SeisMSCProvider. Provides a 'moving sub-cube' of data. Can be 
interesting if you are working in 3D only and just need access to a few 
traces.

4) SeisSingleTraceProc. Inputs and outputs the trace for you. Can even 
work directly on SEG-Y. Used internally in the import classes, not 
recommended.

5) The Attribute Engine. This combines all of the above. Extracts and 
writes in every shape and is well documented.


Some simple examples are in the Tutorial plugin.


/Bert

-- 
-- Bert Bril / OpendTect developer at dGB
-- mailto:Bert.Bril at opendtect.org , http://opendtect.org





More information about the Developers mailing list