DATRW++ library: seismic data I/O with multiple formats

◆ dseries()

Tdseries datrw::ipdasstream::dseries ( )
virtual

Reimplemented from datrw::idatstream.

Definition at line 67 of file ipdasstream.cc.

References datrw::mseed::key::data, datrw::idatstream::Mis, Mtype, datrw::pdas::readdata(), readheader(), datrw::idatstream::setwid2(), and datrw::idatstream::wid2().

68  {
69  readheader();
72  sff::WID2 wid2(this->wid2());
73  wid2.nsamples=data.size();
74  this->setwid2(wid2);
75  return(datrw::pdas::convertandscale<Tdseries>(data, Mtype));
76  }
sff::WID2 wid2() const
Definition: datread.h:111
std::istream & Mis
Definition: datread.h:126
void setwid2(const sff::WID2 &wid2)
Definition: datread.cc:113
const char *const data
keywords for consistency checks
pdas::Etype Mtype
Definition: pdas.h:79
void readdata(std::istream &is, Tdata &data, const Etype &type)
Definition: pdasread.cc:150
std::vector< Tvalue > Tdata
Definition: pdasread.h:76
Here is the call graph for this function: