DATRW++ library: seismic data I/O with multiple formats
datrw::imseedstream Class Reference

class to read mini-SEED data More...

#include <mseed.h>

Inheritance diagram for datrw::imseedstream:
Collaboration diagram for datrw::imseedstream:

Public Types

typedef idatstream Tbase
 

Public Member Functions

 imseedstream (std::istream &is, const std::string &modifier="", const bool &debug=false)
 
virtual ~imseedstream ()
 
bool debug ()
 indicate debug mode More...
 
void debug (const bool &debug)
 set debug mode More...
 
virtual Tdseries dseries ()
 
sff::FREE free () const
 
virtual Tfseries fseries ()
 
bool good () const
 
bool hasfree () const
 
bool hasinfo () const
 
bool hassrce () const
 
sff::INFO info () const
 
virtual Tiseries iseries ()
 
bool last () const
 
Properties properties () const
 
bool providesd () const
 
bool providesf () const
 
bool providesi () const
 
virtual void skipseries ()
 
sff::SRCE srce () const
 
sff::WID2 wid2 () const
 

Static Public Member Functions

static void help (std::ostream &os=std::cout, const char *name="idatsream")
 print some info about data conversion. More...
 
static void help (std::ostream &os=std::cout)
 

Static Public Attributes

static const std::ios_base::openmode openmode =std::ios_base::in|std::ios_base::binary
 

Protected Member Functions

void newtrace ()
 
void setfilefree (const sff::FREE &free)
 
void setinfo (const sff::INFO &info)
 
void setlast ()
 
void setsrce (const sff::SRCE &srce)
 
void settracefree (const sff::FREE &free)
 
void setwid2 (const sff::WID2 &wid2)
 

Protected Attributes

bool Mdebug
 
std::istream & Mis
 

Private Member Functions

Tiseries read (const bool &skipdata=false)
 read file More...
 

Private Attributes

datrw::mseed::ConsistencyChecks Mchecks
 
bool Mdumpascii
 dump ASCII data if true More...
 
bool MestimateNframes
 estimate frame count flags controlling consistency checks More...
 
std::string Mmodifier
 format modifier More...
 
datrw::mseed::Record Mrecord
 data read ahead More...
 
double Mttolerance
 timing tolerance in microseconds More...
 

Detailed Description

class to read mini-SEED data

We must always be one record in advance. Data reading will be done by concatenating several MiniSEED records. A time series will be terminated after reading a noncontiguous MiniSEED record. We have to store this record after reading and thus must always be one record ahead.

Data read ahead is stored in imseedstream::Mrecord which is of type mseed::Record.

Definition at line 163 of file mseed.h.


The documentation for this class was generated from the following files: