osdir.com
mailing list archive

Subject: Re: [ROOT] Interacting with Geophysical timeseries data in SEGY format? - msg#00067

List: lang.c++.root

Date: Prev Next Index Thread: Prev Next Index
I assume that by SEGY format, you mean this one:

"The SEGY data format consists of 3 parts. The first part is a 3200 byte
EBCDIC card image header which contains 40 cards(i.e. 40 lines of text
with 80 characters per line) worth of text data describing the tape.
The second part is a 400 byte binaryheader containing information about
the contents of the tape reel. The third portion of the SEG-Y format
consists of the actual seismic traces. Each trace has a 240 byte trace
header. The data follow, written in one of 4 possible 32 formats in IBM
floating point notation as defined in IBM Form GA 22-6821. (Note, this
``IBM format'' is not the common IEEE format found on modern IBM PC's.)"

I am not aware of a direct interface between ROOT and this format.
However, from the description, it should be quite easy to write a few lines
of code in C/C++ (via the ROOT/CINT interpreter or compiled code) to
read these data sets.

Rene Brun

Ajith C wrote:
>
> Hello
> Can I use ROOT framework to interact with
> Geophysical timeseries data in SEGY format?
> Any suggestions/comments?
>
> Thanks
>
> =====
> Ajith C
> Seismic Software Group
> 533, GEOPIC,
> ONGC, INDIA.
>
>
>
>
> ____________________________________________________________
> Yahoo! Messenger - Communicate instantly..."Ping"
> your friends today! Download Messenger Now
> http://uk.messenger.yahoo.com/download/index.html




Find C++ Jobs at git.net
(osdir sister site)

Thread at a glance:

Previous Message by Date: (click to view message preview)

Re: [ROOT] Fixing automatic streamers

Schema evolution will work if you replace the illegal N=0, by N=1 (see also my previous mail) Rene Brun Salvatore Rappoccio wrote: > > Hi, All, > > I have a class that I have been allowing ROOT to generate Streamers for: > > class X { > > X(); > X( const X & ); > > private: > TH1F * x; > TH1F * y; > > ClassDef(X,1) > }; > > Now, I need to extend the class to have an array for "x" and "y": > > class X { > > X(); > X( const X &); > > enum Number_t { N=0, N_NUMBER_TYPES }; > > private: > TH1F* x[N]; > TH1F* y[N]; > > ClassDef(X,2) > }; > > Will the automatic Streamer generator be able to pick up this change? I > imagine not. So if not, what is the order of the variables streamed in the > automatic Streamer? Is there a version number written out? I imagine it to > be: > > version >> x >> y; > > but I can't really be sure. The automatic generation looks like: > > void X::Streamer( TBuffer &R__b) > { > // Stream an object of class X. > > if (R__b.IsReading()) { > X::Class()->ReadBuffer(R__b, this); > } else { > X::Class()->WriteBuffer(R__b, this); > } > } > > so I can't figure out the order of the objects read in and out are. After > I know the order, it is of course trivial to write a streamer to handle > both versions, but I can't figure out what the order is. > > Thanks, > Sal Rappoccio

Next Message by Date: click to view message preview

Re: [ROOT] WARNING: Plan to drop support for several platforms

Just a small addition concerning HP-UX and aCC. The problem is that at CERN we have only access to the very old and non standard C++ compliant HP-UX 10.20 version of aCC. Modern versions of aCC on HP-UX >=11 will probably work without too many problems but as long as we don't have access to such a platform we can not guarantee the portability of ROOT to HP-UX >= 11. Anybody with such a platform who wants ROOT should lets us know and provide us with access. Cheers, Fons. On Mon, 2004-06-07 at 06:24, Rene Brun wrote: > Dear Rooters, > > In order to improve our support for new platforms, we are planning > to drop support for old OS/compilers. From our FTP distribution site, > we still see several imports from the following versions, but it looks > like people importing these files are just mirroring our site. > The binary versions that we are planning to drop are: > > -AIX.5.tar.gz > -HP-UX.B.10.20.aCC.tar.gz > -IRIX.6.5.cc.tar.gz > -IRIX.6.5.gcc.tar.gz > -IRIX.6.5.kcc.tar.gz > -Linux.RH6.1.gcc2952.tar.gz > -OSF1.V4.0.cxx6.tar.gz > -OSF1.V4.0.tar.gz > -SunOS.5.7.tar.gz > > In addition, we would like to drop support at the source level > for the HP-UX/aCC compiler, the egcs compilers and MS/VC++6. > > Please, let us know as soon as possible, if you are still > using these binary files or compiling from source for aCC, egcs > compilers or MS/VC++6. > In case you are still using these old systems/compilers, could you > tell us when you are planning to move away from these systems. > > Note also that under Windows, we will drop support for the win32 > version, supporting only win32gdk and win32gcc. > > Rene Brun -- Org: CERN, European Laboratory for Particle Physics. Mail: 1211 Geneve 23, Switzerland E-Mail: Fons.Rademakers@xxxxxxx Phone: +41 22 7679248 WWW: http://www.rademakers.org/fons/ Fax: +41 22 7679480

Previous Message by Thread: click to view message preview

[ROOT] Interacting with Geophysical timeseries data in SEGY format?

Hello Can I use ROOT framework to interact with Geophysical timeseries data in SEGY format? Any suggestions/comments? Thanks ===== Ajith C Seismic Software Group 533, GEOPIC, ONGC, INDIA. ____________________________________________________________ Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now http://uk.messenger.yahoo.com/download/index.html

Next Message by Thread: click to view message preview

[ROOT] WARNING: Plan to drop support for several platforms

Dear Rooters, In order to improve our support for new platforms, we are planning to drop support for old OS/compilers. From our FTP distribution site, we still see several imports from the following versions, but it looks like people importing these files are just mirroring our site. The binary versions that we are planning to drop are: -AIX.5.tar.gz -HP-UX.B.10.20.aCC.tar.gz -IRIX.6.5.cc.tar.gz -IRIX.6.5.gcc.tar.gz -IRIX.6.5.kcc.tar.gz -Linux.RH6.1.gcc2952.tar.gz -OSF1.V4.0.cxx6.tar.gz -OSF1.V4.0.tar.gz -SunOS.5.7.tar.gz In addition, we would like to drop support at the source level for the HP-UX/aCC compiler, the egcs compilers and MS/VC++6. Please, let us know as soon as possible, if you are still using these binary files or compiling from source for aCC, egcs compilers or MS/VC++6. In case you are still using these old systems/compilers, could you tell us when you are planning to move away from these systems. Note also that under Windows, we will drop support for the win32 version, supporting only win32gdk and win32gcc. Rene Brun

Web Hosting Reviews from OSDir.com Sister Site iBizWebHosting.com

Home | News | Patents | Sitemap | FAQ | advertise | OSDir is an Inevitable website. GBiz & git.net are too!

Advertising by