Download SIR System-3000 User`s Manual

Transcript
Geophysical Survey Systems, Inc.
SIR-3000
User’s Manual
B. Constants and macros
// constants
const int MINHEADSIZE
const int PARAREASIZE
const int GPSAREASIZE
const int INFOAREASIZE
=
1024;
=
128;
=
2 * sizeof(RGPS);
(MINHEADSIZE - PARAREASIZE- GPSAREASIZE) ;
// structure member alignment macros
#define TYPEBYTE(x,n)
BYTE x##[n]
#define SHORTBYTE(x)
TYPEBYTE(x,2)
#define FLOATBYTE(x)
TYPEBYTE(x,4)
#define RFDATEBYTE(x)
TYPEBYTE(x,4)
#define COORDBYTE(x)
TYPEBYTE(x,8)
// short int (16 bit)
// float
// tagRFDate
// tagRFCoords
C. RADAN Header structure
struct tagRFHeader
{
short
rh_tag;
short
rh_data;
short
rh_nsamp;
short
rh_bits;
short
rh_zero;
FLOATBYTE(rhf_sps);
FLOATBYTE(rhf_spm);
FLOATBYTE(rhf_mpm);
FLOATBYTE(rhf_position);
FLOATBYTE(rhf_range);
short rh_npass;
RFDATEBYTE(rhb_cdt);
RFDATEBYTE(rhb_mdt);
short
rh_rgain;
short
rh_nrgain;
short
rh_text;
short
rh_ntext;
short
rh_proc;
short
rh_nproc;
short
rh_nchan;
FLOATBYTE(rhf_epsr);
FLOATBYTE(rhf_top);
FLOATBYTE(rhf_depth);
COORDBYTE(rh_coordX);
FLOATBYTE(rhf_servo_level);
char
reserved[3];
BYTE rh_accomp;
short rh_sconfig;
short
rh_spp;
short
rh_linenum;
COORDBYTE(rh_coordY);
BYTE rh_lineorder:4;
BYTE rh_slicetype:4;
char
rh_dtype;
char
rh_antname[14];
BYTE rh_pass0TX:4;
MN72-433 Rev F
// Offset in bytes
// 0x00ff if header, 0xfnff for old file
// constant 1024 (obsolete)
// samples per scan
// bits per data word (8 or 16)
// Offset (0x80 or 0x8000 depends on rh_bits)
// scans per second
// scans per meter
// meters per mark
// position (ns)
// range (ns)
// num of passes for 2-D files
// Creation date & time
// Last modification date & time
// offset to range gain function
// size of range gain function
// offset to text
// size of text
// offset to processing history
// size of processing history
// number of channels
// average dielectric constant
// position in meters
// range in meters
// X coordinates
// gain servo level
// reserved
// Ant Conf component
// setup config number
// scans per pass
// line number
// Y coordinates
//
//
//
// Antenna name
// Activ Transmit mask
56
00
02
04
06
08
10
14
18
22
26
30
32
36
40
42
44
46
48
50
52
54
58
62
66
74
78
81
82
84
86
88
96
96
97
98
112