 |
EM datagrams on *.kmall format
Reg.no. 410224 Revision H
|
Go to the documentation of this file.
13 #ifndef _EMDGMFORMAT_H
14 #define _EMDGMFORMAT_H
36 #define EM_DGM_FORMAT_VERSION "Rev H 2020-03-20"
38 #define MAX_NUM_BEAMS 1024
39 #define MAX_EXTRA_DET 1024
40 #define MAX_EXTRA_DET_CLASSES 11
41 #define MAX_SIDESCAN_SAMP 60000
42 #define MAX_SIDESCAN_EXTRA_SAMP 15000
43 #define MAX_NUM_TX_PULSES 9
44 #define MAX_ATT_SAMPLES 148
45 #define MAX_SVP_POINTS 2000
46 #define MAX_SVT_SAMPLES 1
47 #define MAX_DGM_SIZE 64000
48 #define MAX_NUM_MST_DGMS 256
49 #define MAX_NUM_MWC_DGMS 256
50 #define MAX_NUM_MRZ_DGMS 32
51 #define MAX_NUM_FCF_DGMS 1
53 #define MAX_SPO_DATALENGTH 250
54 #define MAX_ATT_DATALENGTH 250
55 #define MAX_SVT_DATALENGTH 64
56 #define MAX_SCL_DATALENGTH 64
57 #define MAX_SDE_DATALENGTH 32
58 #define MAX_SHI_DATALENGTH 32
60 #define MAX_CPO_DATALENGTH 250
61 #define MAX_CHE_DATALENGTH 64
63 #define MAX_F_FILENAME_LENGTH 64
64 #define MAX_F_FILE_SIZE 63000
66 #define UNAVAILABLE_POSFIX 0xffff
67 #define UNAVAILABLE_LATITUDE 200.0f
68 #define UNAVAILABLE_LONGITUDE 200.0f
69 #define UNAVAILABLE_SPEED -1.0f
70 #define UNAVAILABLE_COURSE -4.0f
71 #define UNAVAILABLE_ELLIPSOIDHEIGHT -999.0f
79 #define EM_DGM_I_INSTALLATION_PARAM "#IIP"
80 #define EM_DGM_I_OP_RUNTIME "#IOP"
83 #define EM_DGM_S_POSITION "#SPO"
84 #define EM_DGM_S_KM_BINARY "#SKM"
85 #define EM_DGM_S_SOUND_VELOCITY_PROFILE "#SVP"
86 #define EM_DGM_S_SOUND_VELOCITY_TRANSDUCER "#SVT"
87 #define EM_DGM_S_CLOCK "#SCL"
88 #define EM_DGM_S_DEPTH "#SDE"
89 #define EM_DGM_S_HEIGHT "#SHI"
92 #define EM_DGM_M_RANGE_AND_DEPTH "#MRZ"
93 #define EM_DGM_M_WATER_COLUMN "#MWC"
96 #define EM_DGM_C_POSITION "#CPO"
97 #define EM_DGM_C_HEAVE "#CHE"
100 #define EM_DGM_F_CALIBRATION_FILE "#FCF"
228 #define SPO_VERSION 0
397 uint32_t time_nanosec;
431 #define SKM_VERSION 1
478 #define SVP_VERSION 1
563 #define SVT_VERSION 0
594 #define SCL_VERSION 0
628 #define SDE_VERSION 0
656 #define SHI_VERSION 0
1114 #define MRZ_VERSION 2
1167 float beamPointAngReVertical_deg;
1168 uint16_t startRangeSampleNum;
1171 uint16_t beamTxSectorNum;
1220 #define MWC_VERSION 1
1265 #define CPO_VERSION 0
1295 #define CHE_VERSION 0
1337 #define FCF_VERSION 0
1365 #define IIP_VERSION 0
1393 #define IOP_VERSION 0
1415 #define BIST_VERSION 0
float WCNomBeamAngleAcross_deg
#SVP - Sound Velocity Profile. Data from one depth point contains information specified in this struc...
uint8_t TVGfunctionApplied
uint16_t numBytesPerSounding
uint16_t detectedRangeInSamples
float receiverSensitivityApplied_dB
uint8_t bsCalibrationFile[MAX_F_FILE_SIZE]
float ellipsoidHeightError_m
#CHE - Struct of compatibility heave sensor datagram. Used for backward compatibility with ....
uint32_t pipeTrackingStatus
#SKM - all available data.
float courseOverGround_deg
Information of repeated sensor data in one datagram.
float freqRangeHighLim_Hz
#MRZ - sector information.
#MWC - Multibeam Water Column Datagram. Entire datagram containing several sub structs.
uint16_t numBytesPerClass
uint16_t sensorDataContents
float maxEffTxPulseLength_sec
float highVoltageLevel_dB
uint32_t timeFromSensor_nanosec
float txBeamWidthAlong_deg
#SPO - Sensor position data block. Data from active sensor is corrected data for position system inst...
float ellipsoidHeightReRefPoint_m
float speedOverGround_mPerSec
#MRZ - Multibeam Raw Range and Depth datagram. The datagram also contains seabed image data.
Part of Height datagram, giving corrected and uncorrected data as received from sensor.
uint16_t sensorDataContents
#FCF - Backscatter calibration file The backscatter calibration file contains the measured backsc...
int32_t clockDevPU_nanosec
uint16_t numBytesInfoData
uint16_t sensorInputFormat
uint16_t numBytesPerSample
uint32_t timeFromSensor_sec
float seabedImageSampleRate
Definition of #IOP datagram containing runtime parameters, exactly as chosen by operator in the K-Con...
float bsCorrectionOffset_dB
#SVT - Sound Velocity at Transducer. Data sample.
struct EMdgmMWCrxBeamData_def * beamData_p
Sensor (S) output datagram - common part for all external sensors.
uint16_t numBytesPerTxSector
float speedOverGround_mPerSec
uint8_t postProcessingInfo
#CPO - Compatibility sensor position compatibility data block. Data from active sensor is referenced ...
uint32_t timeFromSensor_sec
uint8_t dataFromSensor[MAX_SCL_DATALENGTH]
float beamAngleCorrection_deg
#MWC - data block 2: receiver, specific info for each beam.
uint16_t numSoundingsMaxMain
#CHE - Heave compatibility data part. Heave reference point is at transducer instead of at vessel ref...
struct EMdgmSVPpoint_def sensorData[MAX_SVP_POINTS]
uint8_t swathAlongPosition
float receiveArraySizeUsed_deg
uint16_t numExtraDetectionClasses
uint8_t modeAndStabilisation
Part of Sound Velocity at Transducer datagram.
uint16_t SLrampUpTimeRemaining
uint8_t detectionConfidenceLevel
float detectionUncertaintyVer_m
float meanAbsCoeff_dBPerkm
float twoWayTravelTimeCorrection_sec
int8_t posDataFromSensor[MAX_CPO_DATALENGTH]
uint32_t timeFromSensor_nanosec
#IB - Results from online built in test (BIST). Definition used for three different BIST datagrams,...
#MWC - Beam sample phase info, specific for each beam and water column sample. numBeams * numSampleDa...
float detectedRangeInSamplesHighResolution
#SVT - Sound Velocity at Transducer. Data for sound velocity and temperature are measured directely o...
uint16_t extraDetectionAlarmFlag
#MWC - Beam sample phase info, specific for each beam and water column sample. numBeams * numSampleDa...
int8_t posDataFromSensor[MAX_SPO_DATALENGTH]
uint16_t SIstartRange_samples
float transmitArraySizeUsed_deg
Sensor (S) output datagram - info of KMB datagrams.
#MRZ - Data for each sounding, e.g. XYZ, reflectivity, two way travel time etc.
float soundVelocity_mPerSec_offset
uint16_t numBytesInfoPart
uint16_t numBytesPerTxSector
float effectiveSignalLength_sec
#SKM - Sensor attitude data block. Data given timestamped, not corrected.
Multibeam (M) datagrams - body part. Start of body of all M datagrams.
int16_t SIsample_desidB[MAX_SIDESCAN_SAMP]
#SKM - data from attitude and attitude velocity sensors.
Multibeam (M) datagrams - data partition information. General for all M datagrams.
uint16_t numBytesRawSensorData
#SKM - delayed heave. Included if available from sensor.
uint16_t numBytesPerSample
float sourceLevelApplied_dB
Part of clock datagram giving offsets and the raw input in text format.
uint8_t lambertsLawApplied
File (F) output datagram - common all for file datagrams.
float sectorTrackingCorr_dB
float starbSectorEdge_deg
float soundVelocity_mPerSec
#SVP - Sound Velocity Profile. Data from sound velocity profile or from CTD profile....
float twoWayTravelTime_sec
float detectionWindowLength_sec
float txNominalSourceLevel_dB
uint8_t attitudeSensorStatus
uint16_t realTimeCleanInfo
#MWC - data block 1: transmit sectors, general info for all sectors
uint16_t numBytesInfoPart
uint16_t numExtraDetections
float ellipsoidHeightReRefPoint_m
float z_waterLevelReRefPoint_m
#CPO - Struct of compatibility position sensor datagram. Data from active sensor will be motion c...
#SPO - Struct of position sensor datagram. Data from active sensor will be motion corrected if in...
uint16_t sensorInputFormat
float soundVelocity_mPerSec
float courseOverGround_deg
int8_t * sampleAmplitude05dB_p
#MRZ - receiver specific information.
float maxEffTxBandWidth_Hz
float totalSignalLength_sec
float sectorTransmitDelay_sec
Part of depth datagram giving depth as used, offsets, scale factor and data as received from sensor (...
uint16_t numSoundingsValidMain
float soundVelocity_mPerSec
#MWC - data block 1: transmit sector data, loop for all i = numTxSectors.
float txTransducerDepth_m
uint16_t numBytesPerSample
float detectionUncertaintyHor_m
float beamIncAngleAdj_deg
float maxTotalTxPulseLength_sec
uint8_t fileName[MAX_F_FILENAME_LENGTH]
#MWC - data block 2: receiver, general info
float ellipsoidHeightReRefPoint_m
uint16_t numBytesInfoPart
float soundSpeedAtTxDepth_mPerSec
#MRZ - ping info. Information on vessel/system level, i.e. information common to all beams in the cur...
uint8_t numBytesPerBeamEntry
Definition of #IIP datagram containing installation parameters and sensor format settings....