DATRW++ library: seismic data I/O with multiple formats
|
read data from Walter Grossmann file format (prototypes) More...
#include <iostream>
#include <string>
#include <vector>
#include <libtime++.h>
#include <sffxx.h>
#include <datrwxx/datread.h>
#include <datrwxx/hpmodata.h>
Go to the source code of this file.
Classes | |
class | datrw::hpmo::Header |
Read, hold and handle one minute block header line. More... | |
class | datrw::hpmo::NoHeaderException |
this excpetion will be thrown by the Header reading function, in case it does not find something that look like a header (i.e. a line with more or less than 44 characters) More... | |
Namespaces | |
datrw | |
Root namespace of library. | |
datrw::hpmo | |
All classes and functions to extract data from HPMO files. | |
Macros | |
#define | DATRW_READHPMO_H_VERSION "DATRW_READHPMO_H V1.0 " |
Typedefs | |
typedef std::vector< MinuteBlock > | datrw::hpmo::Tvecofblocks |
within the inner reading functions, we use vector to hold minute blocks More... | |
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::ostream & | datrw::hpmo::operator<< (std::ostream &os, const SampleBlock &data) |
dump values of a sample block More... | |
std::ostream & | datrw::hpmo::operator<< (std::ostream &os, const Header &hd) |
dump header values More... | |
std::ostream & | datrw::hpmo::operator<< (std::ostream &os, const MinuteBlock &block) |
dump a minute block More... | |
std::istream & | datrw::hpmo::operator>> (std::istream &is, Header &hd) |
read header from C++ stream More... | |
std::istream & | datrw::hpmo::operator>> (std::istream &is, SampleBlock &data) |
read a sample block from C++ stream 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... | |
read data from Walter Grossmann file format (prototypes)
read data from Walter Grossmann file format (prototypes)
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
Copyright (c) 2004 by Thomas Forbriger (BFO Schiltach)
REVISIONS and CHANGES
Definition in file readhpmo.h.