Definition at line 95 of file oseifestream.cc.
References DATRW_report_assert, datrw::seife::ParameterLine::dt(), datrw::seife::ParameterLine::format(), datrw::odatstream::free(), datrw::odatstream::hasfree(), datrw::odatstream::Mos, Mtracewritten, datrw::seife::ParameterLine::nsamples(), datrw::seife::seife_standard_format, datrw::seife::Header::set(), datrw::seife::ParameterLine::time(), datrw::odatstream::wid2(), and datrw::seife::Header::write().
Referenced by writetrace().
98 "WARNING in (oseifestream::writetraceheader):\n" 99 "More than one trace will be written to the same " 101 "seife format only supports single trace files.\n");
106 libtime::TAbsoluteTime theday(
wid2.date.year(),
wid2.date.month(),
112 header.
set(parameters);
seife format header parameter line
libtime::TRelativeTime time() const
return time of first sample as offset from midnight
unsigned int nsamples() const
return number of samples
const char *const seife_standard_format
sff::WID2 wid2() const
return WID2 data
std::ostream & Mos
output stream to be used by this class
bool Mtracewritten
true, if a trace has be written
std::string format() const
return Fortran data format
sff::FREE free() const
return FREE data
double dt() const
return sumpling interval
bool hasfree() const
free is available
#define DATRW_report_assert(C, M)
Check an assertion and report only.