conv/many suite: convert (m)any seismic data format(s)

◆ wid2()

sff::WID2 GapSeriesHeader::wid2 ( ) const

produce a WID2 header for file output

Definition at line 44 of file structgapseries.cc.

References Gapid::auxid(), CompletenessBins::binsize(), Gapid::channel(), completenessbins, CompletenessBins::firstbin(), ID, and Gapid::station().

Referenced by main().

45 {
46  ::sff::WID2 retval;
47  retval.dt=libtime::time2double(this->completenessbins.binsize());
48  retval.date=this->completenessbins.firstbin();
49  retval.station=this->ID.station();
50  retval.channel=this->ID.channel();
51  retval.auxid=this->ID.auxid();
52  return(retval);
53 } // ::sff::WID2 GapSeriesHeader::wid2() const
libtime::TAbsoluteTime firstbin() const
CompletenessBins completenessbins
std::string station() const
std::string channel() const
std::string auxid() const
libtime::TRelativeTime binsize() const
Here is the call graph for this function:
Here is the caller graph for this function: