Definition at line 657 of file sffxx.cc.
References auxid, calib, calper, channel, date, dt, hang, instype, nsamples, station, and vang.
Referenced by read(), test_line_functions(), test_read_file(), test_skip_trace(), and sff::TraceHeader::writeheader().
659 GSE2::waveform::TWID2 wid2line;
661 libtime::TAbsoluteTime rnddate(
date.year(),
date.month(),
665 if (
date.micsec()>499) { rnddate += libtime::TRelativeTime(0,0,0,0,1); }
666 wid2line.Fyear=rnddate.year();
667 wid2line.Fmonth=rnddate.month();
668 wid2line.Fday=rnddate.day();
669 wid2line.Fhour=rnddate.hour();
670 wid2line.Fminute=rnddate.minute();
671 wid2line.Fmilsec=rnddate.second()*1000+rnddate.milsec();
674 wid2line.Fauxid=
auxid;
676 wid2line.Fsamprate=1./
dt;
677 wid2line.Fcalib=
calib;
682 return(wid2line.line());
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
double calib
calibration factor
double vang
veritcal orientation
double dt
sampling interval (sec)
double hang
horizontal orientation