Specifications
Appendix 2: Displaying Data Formats 81
// 642 [<01> ("EM_I",4,0,10,0) ]
EM inphase
// 723 [<01> ("EM_Q",4,0,10,0) ]
EM quadrature
// 808 [<04> ("Spec",1,256,0,6,0) ]
256-channel spec.
// 804 [<02> (100,0,0,10,1995,1,19) ]
line 100
// 889 [<03> (0,4,1000.0,1.0,3610) (data,data, 3610 times) ]
Time data
// 15358 [<03> (1,5,1000.0,1.0,3610) (data,data, 3610 times) ]
X data
// 44267 [<03> (2,5,1000.0,1.0,3610) (data,data, 3610 times) ]
Y data
// 73176 [<03> (3,4,1000.0,0.1,36100) (data,data, 36100 times) ]
Mag data
// 217605 [<03> (4,4,1000.0,0.1,36100) (data,data, 36100 times) ]
EM I data
// 362034 [<03> (5,4,1000.0,0.1,36100) (data,data, 36100 times) ]
EM Q data
// 506463 [<03> (5,1,1000.0,1.0,924160) (data,data, 924160 times)]
spectrometer
//2354812 [<02> (110,0,0,10,1995,1,19) ]
line 110
// etc. [<03> (0,4,4610.0,1.0,4215) (data,data, 4215 times) ]
Time data
// [<03> (1,5,4610.0,1.0,4215) (data,data, 4215 times) ]
X data
// [<03> (2,5,4610.0,1.0,4215) (data,data, 4215 times) ]
Y data
// [<03> (3,4,4610.0,0.1,42150) (data,data, 42150 times) ]
Mag data
// [<03> (4,4,4610.0,0.1,42150) (data,data, 42150 times) ]
EM I data
// [<03> (4,4,4610.0,0.1,42150) (data,data, 42150 times) ]
EM Q data
// [<03> (5,1,1000.0,1.0,924160) (data,data, 924160 times)]
spectrometer
// [<00> ]
end of data
//--------------------------------------------------------------
#ifndef GBN_FH
#define GBN_FH
// --- record byte headers ---
#define GBN_CHAN_REC 1
#define GBN_LINE_REC 2
#define GBN_DATA_REC 3
#define GBN_ARRAYCHAN_REC 4
#define GBN_PARAMETER_REC 5
#define GBN_EOF_REC 0
// --- establish Geosoft defines if not already set ---
#ifndef LINE_NORMAL
// --- line type defines ---
#define LINE_NORMAL 0
#define LINE_BASE 1
#define LINE_TIE 2
#define LINE_TEST 3
#define LINE_TREND 4
#define LINE_SPECIAL 5
#define LINE_RANDOM 6
// --- data types ---
#define GS_BYTE 0 // signed byte
#define GS_USHORT 1 // unsigned 2-byte integer
#define GS_SHORT 2 // signed 2-byte integer