DATRW++ library: seismic data I/O with multiple formats
suheader.cc File Reference

handle a Seismic Unix trace header (implementation) More...

#include <datrwxx/suheader.h>
#include <datrwxx/error.h>
#include <datrwxx/debug.h>
#include <datrwxx/sucomanager.h>
#include <sstream>
#include <cstring>
#include <cmath>
#include <climits>
Include dependency graph for suheader.cc:

Go to the source code of this file.

Namespaces

 datrw
 Root namespace of library.
 
 datrw::su
 All classes and functions to extract data from Seismic Unix files.
 

Macros

#define DATRW_SUHEADER_CC_VERSION   "DATRW_SUHEADER_CC V1.7"
 

Detailed Description

handle a Seismic Unix trace header (implementation)


Author
Thomas Forbriger
Date
19/11/2010

handle a Seismic Unix trace header (implementation)

Copyright (c) 2010 by Thomas Forbriger (BFO Schiltach)


This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software

Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

REVISIONS and CHANGES

  • 19/11/2010 V1.0 Thomas Forbriger
  • 17.12.2010 V1.1 bug fixed in scalcof() and scalelf()
  • 17.07.2011 V1.2 make scalel==0 non-fatal
  • 24.08.2011 V1.3 static cast to integer type just truncates round sampling interval properly to nearest integer
  • 21/01/2012 V1.4 provide online help regarding header fields
  • 22/01/2012 V1.5
    • pass control parameters to ScalCoo and Coordinates
    • delegate to scale value handling functions
    • indicate ultrasonic data
    • renamed absdelay -> absdelrt
  • 23/01/2012 V1.6
    • scaling of delay for ultrasonic data
    • reading of ultrasonic data fully supported
    • scaling of dt and delrt when setting header values for ultrasonic data is implemented V1.7
    • added debug output
    • check ultrasonic vs. seismic scaling for dt and delrt; works fine after correction of a few errors

Definition in file suheader.cc.