Definition at line 687 of file sffxx.cc.
References auxid, calib, calper, channel, date, dt, hang, instype, line(), nsamples, station, vang, sff::WIDXID, and sff::WIDXline().
Referenced by sff::TraceHeader::readheader(), and WID2().
690 std::getline(is,
line);
697 std::istringstream iss(
line);
698 GSE2::waveform::TWID2 wid2line;
700 int second=int(wid2line.Fmilsec/1000);
701 int milsec=wid2line.Fmilsec-1000*second;
702 date=libtime::TAbsoluteTime(wid2line.Fyear,
708 this->
station=wid2line.Fstation;
709 this->
channel=wid2line.Fchannel;
710 this->
auxid=wid2line.Fauxid;
712 this->
dt=1./wid2line.Fsamprate;
713 this->
calib=wid2line.Fcalib;
714 this->
calper=wid2line.Fcalper;
715 this->
instype=wid2line.Finstype;
716 this->
hang=wid2line.Fhang;
717 this->
vang=wid2line.Fvang;
std::string auxid
Auxiliary identification code.
double calper
calibration reference period
std::string station
Station code.
std::string instype
instrument type
std::string channel
FDSN channel code.
int nsamples
number of samples
libtime::TAbsoluteTime date
time of first sample
std::string WIDXline(const sff::WID2 &wid2, const bool &debug=false)
write WID2 information in extended format
double calib
calibration factor
const char *const WIDXID
ID for extended WID2 format.
double vang
veritcal orientation
double dt
sampling interval (sec)
double hang
horizontal orientation