UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
trace_file.h
1 /* trace_file.h */
2 /* $Revision: 1.15 $ trace_file.h $Date: 2008/12/09 08:10:04 $ */
3 #ifndef __trace_file_h
4 #define __trace_file_h
5 
6 /*************************************************************
7  * Trace file. Data types.
8  *************************************************************/
9 
10 #include <mix/Types.h>
11 
12 /*
13  * Trace header
14  */
15 typedef struct
16 {
17  /* SDS-5 like structure */
18  Int4 NMGL; /* 01 - Seq. record number */
19  Int4 NTR; /* 02 - Trace number in record */
20  Int4 SIZE; /* 03 - Header length (in 4-byte words) - 60 */
21  Int4 ACT; /* 04 - Actual code */
22  Int4 NMGF; /* 05 - Field record number */
23  Int4 XSP; /* 06 - Shot point coordinate */
24  Int4 XDP; /* 07 - CDP coordinate */
25  Int4 XOP; /* 08 - Receive point coordinate */
26  Int4 L; /* 09 - Distance */
27  Int4 FTR; /* 10 - Format code (see AtomType) */
28  Int4 TBC; /* 11 - Start time (common) */
29  Int4 TEC; /* 12 - Stop time (common) */
30  Int4 TBA; /* 13 - First nonzero sample time */
31  Int4 TEA; /* 14 - Last nonzero sample time */
32  Int4 DT; /* 15 - Sampling rate (0..16 - ms; 17.. - us) */
33  Int4 P; /* 16 - Weight (percent) */
34  Int4 VER; /* 17 - Version number */
35  Int4 NCF; /* 18 - Normalization coefficient */
36  Int4 NSP; /* 19 - Shot point number (unique number) */
37  Int4 YSP; /* 20 - Y shot point coordinate */
38  Int4 YDP; /* 21 - Y CDP coordinate */
39  Int4 YOP; /* 22 - Y receive point coordinate */
40  Int4 NXBN; /* 23 - X bin number for CDP image */
41  Int4 NYBN; /* 24 - Y bin number for CDP image */
42  Int4 XMC; /* 25 - X-coordinate centre of masse */
43  Int4 YMC; /* 26 - Y-coordinate centre of masse */
44  Char PNAME[8]; /* 27 - Tested parameter name */
45  Int4 PVAL; /* 29 - Tested parameter value (SDS-5)
46  NSP of correlated trace with this one DTYPE=7 */
47  Int4 PPGM; /* 30 - Number of program in chain
48  NRP of correlated trace with this one DTYPE=7 */
49 
50  /* UNIVERS extensions */
51  Int4 TRFR; /* 31 - Trace number on field record */
52  Real4 XSPV; /* 32 - Shot point coordinate */
53  Real4 YSPV; /* 33 - Shot point coordinate */
54  Real4 ZSPV; /* 34 - Shot point coordinate */
55  Real4 XOPV; /* 35 - Receive point coordinate */
56  Real4 YOPV; /* 36 - Receive point coordinate */
57  Real4 ZOPV; /* 37 - Receive point coordinate */
58  Real4 XDPV; /* 38 - Depth point coordinate */
59  Real4 YDPV; /* 39 - Depth point coordinate */
60  Real4 ZDPV; /* 40 - Depth point coordinate */
61  Real4 HCAB; /* 41 - Cable depth */
62  Char TYPE[4]; /* 42 - Type of trace in first byte:
63  * D - downhole, C - control,
64  * S - surface, A - auxiliary */
65  Char COMP[4]; /* 43 - Registred component in first byte:
66  * XYZ, 1234..9, PRT - downhole, control;
67  * B - time break (auxiliary type),
68  * U - uphole time (auxiliary type) */
69  Char WCODE[12]; /* 44-46 - Well name or section name (len<=12) */
70  Real4 DHSP; /* 47 - Altitude difference (shot point-well mouth) */
71  Real4 DELAY; /* 48 - Size of negative left part of operator, ms */
72  Int4 NDP; /* 49 - CDP number */
73  Real4 AZIMUTH; /* 50 - Azimuth of the trace (degrees) */
74  Real4 DIP; /* 51 - Dip of the trace (degrees) */
75  Real4 TFB; /* 52 - First break time (ms) */
76  Real4 AMAX; /* 53 - Maximum amplitude of the trace */
77  Real4 AMIN; /* 54 - Minimum amplitude of the trace */
78  Int4 NSL; /* 55 - Shot line number */
79  Int4 NSS; /* 56 - Shot station number on the shot line */
80  Int4 NRP; /* 57 - Receiver point number (unique number) */
81  Int4 NRL; /* 58 - Receiver line number */
82  Int4 NRS; /* 59 - Receiver station number on receiver line */
83  Int4 REZ[1]; /* 60 - Reserved */
84 
85 } TrHeader;
86 
87 
88 #endif /* trace_file.h */
Definition: trace_file.h:15