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

read data from Walter Grossmann file format (implementation) More...

#include <datrwxx/error.h>
#include <datrwxx/readhpmo.h>
#include <iostream>
#include <sstream>
#include <stdlib.h>
Include dependency graph for readhpmo.cc:

Go to the source code of this file.

Namespaces

 datrw
 Root namespace of library.
 
 datrw::hpmo
 All classes and functions to extract data from HPMO files.
 

Macros

#define DATRW_READHPMO_CC_VERSION   "DATRW_READHPMO_CC V1.0 "
 

Functions

void datrw::hpmo::check_channel_no (const int &ichannel)
 check if channel number is valid More...
 
libtime::TRelativeTime datrw::hpmo::dt ()
 return sampling interval of HPMO data acquisition (i.e. 5 sec) More...
 
void datrw::hpmo::dump (std::ostream &os, const SampleBlock &data)
 dump one block of samples More...
 
void datrw::hpmo::dump (std::ostream &os, const MinuteBlock &block)
 dump one MinueBlock More...
 
std::istream & datrw::hpmo::operator>> (std::istream &is, MinuteBlock &block)
 read a full minute block from C++ stream More...
 
std::string datrw::hpmo::quality (const int &flag)
 return meaning of quality flag More...
 
sff::FREE datrw::hpmo::qualityreports (const MinuteBlock *blocks, const int &nblocks)
 prepare a report on unusual quality reports More...
 
SampleBlock datrw::hpmo::readdata (std::istream &is, const bool &verbose=false)
 read one minute block of samples More...
 
Tvecofblocks datrw::hpmo::readfile (std::istream &is, const bool &verbose=false)
 read a full data file More...
 
libtime::TRelativeTime datrw::hpmo::toffset (const int &ichannel)
 return time offset for channel ichannel (due to multiplexer) More...
 

Detailed Description

read data from Walter Grossmann file format (implementation)


Author
Thomas Forbriger
Date
31/03/2004

read data from Walter Grossmann file format (implementation)


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

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

REVISIONS and CHANGES

  • 31/03/2004 V1.0 Thomas Forbriger

    - 19/07/2010 Daniel Armbruster header <stdlib.h> added

Definition in file readhpmo.cc.