DATRW++ library: seismic data I/O with multiple formats
|
#include <mseedread.h>
Public Types | |
typedef aff::Series< Tvalue > | Tseries |
type of container for sample data More... | |
typedef int | Tvalue |
type of sample data More... | |
Public Member Functions | |
MiniSEEDRecord (const Debug &d=Debug(false, false)) | |
const SEED::DataOnlySEEDBlockette & | blockette1000 () const |
returns Data Only SEED Blockette More... | |
const SEED::DataExtensionBlockette & | blockette1001 () const |
returns Data Extension Blockette More... | |
std::string | channel () const |
return channel code More... | |
void | checks (const ConsistencyChecks &flags) |
adjust flags consistency checks More... | |
Tseries | data () const |
Return actual data samples stored in object. More... | |
libtime::TAbsoluteTime | date () const |
return time of first sample More... | |
Debug & | debug () |
return reference to debug flags More... | |
double | dt () const |
return sampling interval More... | |
void | estimateNframes (const bool &flag) |
adjust flag for estimation of frame count More... | |
bool | hasblockette1000 () const |
true if Data Only SEED Blockette is present More... | |
bool | hasblockette1001 () const |
true if Data Extension Blockette is present More... | |
std::string | location () const |
return location code More... | |
std::string | network () const |
return network code More... | |
unsigned int | nsamples () const |
number of samples More... | |
void | read (std::istream &is) |
read a full MiniSEED record including data samples More... | |
const SEED::FixedDataRecordHeader & | recordheader () const |
returns Fixed Data Record Header More... | |
void | skipdata (std::istream &is) |
only read header and blockettes, no data More... | |
std::string | station () const |
return station code More... | |
bool | valid () const |
true if record was successfully read More... | |
int | xm1 () const |
return last sample of previous record More... | |
Private Member Functions | |
MiniSEEDblock | readheader (std::istream &is) |
read header and return block More... | |
Private Attributes | |
SEED::DataOnlySEEDBlockette | Mblockette1000 |
Data Only SEED Blockette. More... | |
SEED::DataExtensionBlockette | Mblockette1001 |
Data Extension Blockette. More... | |
ConsistencyChecks | Mchecks |
flags controlling consistency checks More... | |
Tseries | Mdata |
Container for sample data. More... | |
Debug | Mdebug |
debug options More... | |
bool | MestimateNframes |
estimate number of frames More... | |
bool | Mhasblockette1000 |
Data Only SEED Blockette is present. More... | |
bool | Mhasblockette1001 |
Data Extension Blockette is present. More... | |
SEED::FixedDataRecordHeader | Mrecordheader |
Fixed Data Record Header. More... | |
bool | Mvalid |
contains valid data More... | |
int | Mxm1 |
Expected value of last sample in previous block. More... | |
MiniSEED class for decoded data
This class provides the interface to read one MiniSEED record including all data sample frames (if requested).
The read or the skipdata function have to be called after initialization of the record object. Prior to reading data the object's contents are not valid, which is indicated by the return value of the valid function.
If debug modes are requested, they have to be passed on the instance of creation.
Definition at line 154 of file mseedread.h.