DATRW++ library: seismic data I/O with multiple formats

◆ help()

void datrw::su::SUheader::help ( std::ostream &  os)
static

print online help regarding header fields and TOAST data

Definition at line 548 of file suheader.cc.

Referenced by datrw::isustream::help(), and datrw::osustream::help().

549  {
550  os <<
551  "The library uses only few header fields. Upon reading the\n"
552  "following fields are used:\n";
553  os <<
554  "wid2.nsamples = header.ns\n"
555  "wid2.dt = header.dt*1.e-6\n"
556  "wid2.date = srce.date+header.delrt*1.e-3\n"
557  "wid2.channel = header.tracf\n"
558  " (tracf = Trace number within original field record)\n"
559  "wid2.station = header.tracf\n"
560  "wid2.auxid = header.fldr\n"
561  " (fldr = Original field record number)\n";
562  os <<
563  "info.cx = header.gx*scalcof\n"
564  "info.cy = header.gy*scalcof\n"
565  "info.cz = header.gelev*scalelf\n"
566  "info.nstacks = header.nvs\n";
567  os <<
568  "srce.cx = header.sx*scalcof\n"
569  "srce.cy = header.sy*scalcof\n"
570  "srce.cz = header.sdepth*scalelf\n"
571  "srce.date = date(year,day,hour,minute,sec)\n";
572  os <<
573  "header.scalco and header.scalel are as defined for the SEG-Y "
574  "format:\n"
575  "http://www.seg.org/SEGportalWEBproject/prod/SEG-Publications/Pub-Technical-Standards/Documents/seg_y_rev1.pdf\n"
576  "except when their modulus is smaller than 10 and larger than 0.\n"
577  "In this case the scaling factors scalcof and scalelf are taken to be\n"
578  "10 to the power of header.scalco or header.scalel, respectively\n";
579  os <<
580  "Notice that in contrast to the definition of the SeismicUn*x format\n"
581  "this library also supports high frequency sampling for ultrasonic\n"
582  "data. A special meaning of header fields was defined within the TOAST\n"
583  "project:\n";
584  os <<
585  "Small sampling interval (smaller than 1 microsecond) as used in\n"
586  "ultrasonic recordings are to be stored in SeismicUn*x data format\n"
587  "within TOAST as follows:\n";
588  os <<
589  "1. Time values for ultrasonic data will be given in nanoseconds for\n"
590  " dt and microseconds for delrt.\n"
591  "2. This applies to fields\n"
592  " a) dt (byte# 117-118): sample interval\n"
593  " b) delrt (byte# 109-110): delay recording time\n";
594  os <<
595  "3. Time units other than microseconds or nanoseconds for dt and\n"
596  " milliseconds or microseconds for delrt are not allowed.\n"
597  "4. Field d1 (byte# 181-184) in TOAST data will be\n"
598  " a) either zero, indicating standard seismic data with a\n"
599  " micro seconds time scale or\n"
600  " b) provide the sampling interval in seconds, thus indicating\n"
601  " i) either standard seismic data, if d1 in seconds matches\n"
602  " dt if the latter is taken in microseconds or\n"
603  " ii) ultrasonic data, if d1 in seconds matches dt if the\n"
604  " latter is taken in nanoseconds and delrt is taken\n"
605  " in microseconds\n";
606  os <<
607  "This way it is possible to use SU tools to sort traces or similar\n"
608  "or even waveform filters. The user just has to take care to pass\n"
609  "filter frequencies in kHz rather than Hz in the case of ultrasonic\n"
610  "data.\n";
611  } // void SUheader::help(std::ostream& os) const
Here is the caller graph for this function: