only read header and blockettes, no data
- Note
- Apparently this function is not used at all. It probably is useless, because datrw::mseed::imseedstream::read requires to extract block data in order to control whether data is contiguous. With some data the amount of actual samples and the amount of data blocks required to store them is only well established after decoding all data frames.
- Deprecated:
- This function appears obsolete and might be removed in the future.
Definition at line 60 of file mseedread_mseedrecord_skipdata.cc.
References datrw::mseed::MiniSEEDblock::bytesize(), Mblockette1000, Mdata, Mvalid, readheader(), and datrw::mseed::SEED::DataOnlySEEDBlockette::reclenbytes().
75 int nblocks=reclen/block.bytesize();
80 while (iblock < nblocks)
85 std::cerr <<
"WARNING (reading MiniSEED record): " 86 <<
"input stream is bad!" << std::endl;
92 if (is.good()) {
Mvalid=
true; }
MiniSEEDblock readheader(std::istream &is)
read header and return block
aff::Series< Tvalue > Tseries
type of container for sample data
Tseries Mdata
Container for sample data.
SEED::DataOnlySEEDBlockette Mblockette1000
Data Only SEED Blockette.
bool Mvalid
contains valid data
unsigned int reclenbytes() const