shift time of first sample in WID2 line
Description from stuff.f:
c----------------------------------------------------------------------
subroutine sff_ModWid2shift(wid2line, tmin, tsec)
c
c Change time and date of first sample by adding tmin minutes
c and tsec seconds
c
c input:
c tmin minutes to add
c tsec seconds to add
c input and output:
c wid2line string to change
c----------------------------------------------------------------------
Definition at line 62 of file fapid_sff_modwid2shift.cc.
References fapidxx::WID2container::encode(), and fapidxx::WID2container::wid2.
66 libtime::TAbsoluteTime date(wid2c.wid2.date);
67 double tshift=double(*tsec)+60.*double(*tmin);
69 { wid2c.wid2.date-=libtime::double2time(-tshift); }
71 { wid2c.wid2.date+=libtime::double2time(tshift); }
72 wid2c.encode(wid2line, wid2line_len);
This struct is used to pass WID2 line data within libfapidxx.