SEG2DUMP

Raw dump to a text file of SEG-2 data formatted data. Engineering seismographs like those available from Geometrics or that designed by the author SeisRecorder.

The text file contains the data samples without applying any scaling due to fold or stack or instrument scaling factors. The input file *.DAT is output as a *.lst file name. File descriptor block and trace descriptor blocks for each trace are listed before the samples.

For example, if the data were integer recorded, the raw values as integers are displayed followed by the sample times.

This program is handy for debugging and evaluating recording parameters. If one wants a text file with all scale factors applied, consider converting the data to BSEGY format (program egg2seg) and apply either SEG2TXT or SEG2CSV programs which can produce text or comma separated value files.

For an input file 0000.DAT, output file 0000.lst sample follows:

 ALL DATA VALUES ARE RAW SEG-2, No Scale Factors

 Confirmed SEG-2 Data: 0X3A55 

------------------------------------------------------------------------
 
FILE DESCRIPTOR BLOCK
------------------------------------------------------------------------
 Size of trace pointer block = 32 
 Number of traces = 1 
 first string terminator character = 0 
 second string terminator character = 0 
 first line terminator character = 0XA 
 second line terminator character = 0 
 trace pointer (0) = 0XB8 
 number of characters=33 
 ACQUISITION_DATE 31/May/2019  
 Date (dayofyear.year: 151.2019
 number of characters=30 
 ACQUISITION_TIME 13:45:52  
 TIME: 13 45 52 
------------------------------------------------------------------------
 
TRACE DESCRIPTOR BLOCKS
------------------------------------------------------------------------
  idfc = 2 
  npts = 500 
 CHANNEL_NUMBER 0  
 ALIAS_FILTER 100 6  
 HIGH_CUT_FILTER 100 6  
 FIXED_GAIN 19  
 DELAY 0.00  
 LINE_ID 0001  
 RAW_RECORD 0000.DAT  
 RECEIVER VERTICAL_GEOPHONE  
 SOURCE HAMMER  
 SOURCE_STATION_NUMBER 0000  
 RECEIVER_LOCATION 1.00 0.00 0.00  
 SOURCE_LOCATION 0.00 0.00 0.00  
 SAMPLE_INTERVAL 0.001000  
 DESCALING_FACTOR  1.1220185E-04  
 STACK 1  
------------------------------------------------------------------------
NOTE: All Values are Raw, No Scale Factors
[Indx] 	Raw Value 	(time) 
[0] 	  -10521 	(0.00000)
[1] 	  -10216 	(0.00100)
[2] 	   -8080 	(0.00200)
[3] 	    2373 	(0.00300)
[4] 	   18318 	(0.00400)
[5] 	   37544 	(0.00500)
[6] 	   56084 	(0.00600)
[7] 	   66536 	(0.00700)
[8] 	   60356 	(0.00800)
[9] 	   32890 	(0.00900)
[10] 	  -11589 	(0.01000)
[11] 	  -58586 	(0.01100)
[12] 	  -88341 	(0.01200)
[13] 	  -85594 	(0.01300)
 .          .        .          
 .          .        .
 .          .        .