13 #ifndef _EMDGMFORMAT_H 14 #define _EMDGMFORMAT_H 34 #define EM_DGM_FORMAT_VERSION "Rev F 2018-11-16" 36 #define MAX_NUM_BEAMS 1024 37 #define MAX_EXTRA_DET 1024 38 #define MAX_EXTRA_DET_CLASSES 11 39 #define MAX_SIDESCAN_SAMP 60000 40 #define MAX_SIDESCAN_EXTRA_SAMP 15000 41 #define MAX_NUM_TX_PULSES 9 42 #define MAX_ATT_SAMPLES 148 43 #define MAX_SVP_POINTS 2000 44 #define MAX_SVT_SAMPLES 1 45 #define MAX_DGM_SIZE 64000 46 #define MAX_NUM_MST_DGMS 256 47 #define MAX_NUM_MWC_DGMS 256 48 #define MAX_NUM_MRZ_DGMS 32 50 #define MAX_SPO_DATALENGTH 250 51 #define MAX_ATT_DATALENGTH 250 52 #define MAX_SVT_DATALENGTH 64 53 #define MAX_SCL_DATALENGTH 64 54 #define MAX_SDE_DATALENGTH 32 55 #define MAX_SHI_DATALENGTH 32 57 #define MAX_CPO_DATALENGTH 250 58 #define MAX_CHE_DATALENGTH 64 60 #define UNAVAILABLE_POSFIX 0xffff 61 #define UNAVAILABLE_LATITUDE 200.0f 62 #define UNAVAILABLE_LONGITUDE 200.0f 63 #define UNAVAILABLE_SPEED -1.0f 64 #define UNAVAILABLE_COURSE -4.0f 65 #define UNAVAILABLE_ELLIPSOIDHEIGHT -999.0f 73 #define EM_DGM_I_INSTALLATION_PARAM "#IIP" 74 #define EM_DGM_I_OP_RUNTIME "#IOP" 77 #define EM_DGM_S_POSITION "#SPO" 78 #define EM_DGM_S_KM_BINARY "#SKM" 79 #define EM_DGM_S_SOUND_VELOCITY_PROFILE "#SVP" 80 #define EM_DGM_S_SOUND_VELOCITY_TRANSDUCER "#SVT" 81 #define EM_DGM_S_CLOCK "#SCL" 82 #define EM_DGM_S_DEPTH "#SDE" 83 #define EM_DGM_S_HEIGHT "#SHI" 87 #define EM_DGM_M_RANGE_AND_DEPTH "#MRZ" 88 #define EM_DGM_M_WATER_COLUMN "#MWC" 92 #define EM_DGM_C_POSITION "#CPO" 93 #define EM_DGM_C_HEAVE "#CHE" 221 #define SPO_VERSION 0 390 uint32_t time_nanosec;
424 #define SKM_VERSION 1 471 #define SVP_VERSION 1 554 #define SVT_VERSION 0 585 #define SCL_VERSION 0 619 #define SDE_VERSION 0 647 #define SHI_VERSION 0 1082 #define MRZ_VERSION 0 1135 float beamPointAngReVertical_deg;
1136 uint16_t startRangeSampleNum;
1139 uint16_t beamTxSectorNum;
1186 #define MWC_VERSION 0 1233 #define CPO_VERSION 0 1263 #define CHE_VERSION 0 1292 #define IIP_VERSION 0 1320 #define IOP_VERSION 0 1342 #define BIST_VERSION 0
float ellipsoidHeightReRefPoint_m
float courseOverGround_deg
float ellipsoidHeightError_m
#MWC - data block 2: receiver, specific info for each beam.
float txTransducerDepth_m
uint16_t numBytesPerTxSector
#SVT - Sound Velocity at Transducer. Data sample.
#MRZ - sector information.
float ellipsoidHeightReRefPoint_m
float courseOverGround_deg
float maxEffTxBandWidth_Hz
float ellipsoidHeightReRefPoint_m
#SVP - Sound Velocity Profile. Data from one depth point contains information specified in this struc...
#MWC - data block 1: transmit sector data, loop for all i = numTxSectors.
Part of clock datagram giving offsets and the raw input in text format.
Sensor (S) output datagram - info of KMB datagrams.
float soundVelocity_mPerSec
uint16_t numBytesPerSounding
uint16_t numBytesInfoPart
uint16_t extraDetectionAlarmFlag
#CHE - Struct of compatibility heave sensor datagram. Used for backward compatibility with ...
uint16_t numBytesRawSensorData
uint8_t postProcessingInfo
float beamAngleCorrection_deg
float soundSpeedAtTxDepth_mPerSec
int16_t SIsample_desidB[MAX_SIDESCAN_SAMP]
Multibeam (M) datagrams - body part. Start of body of all M datagrams.
int8_t posDataFromSensor[MAX_CPO_DATALENGTH]
Part of depth datagram giving depth as used, offsets, scale factor and data as received from sensor (...
float sectorTransmitDelay_sec
uint8_t modeAndStabilisation
uint8_t detectionConfidenceLevel
uint16_t numBytesPerClass
Part of Sound Velocity at Transducer datagram.
#CPO - Compatibility sensor position compatibility data block. Data from active sensor is referenced ...
float receiveArraySizeUsed_deg
float seabedImageSampleRate
float maxEffTxPulseLength_sec
float soundVelocity_mPerSec_offset
float twoWayTravelTimeCorrection_sec
uint16_t sensorInputFormat
uint32_t pipeTrackingStatus
uint8_t swathAlongPosition
uint16_t SLrampUpTimeRemaining
uint16_t sensorInputFormat
#SKM - all available data.
float txNominalSourceLevel_dB
uint16_t SIstartRange_samples
float speedOverGround_mPerSec
int8_t * sampleAmplitude05dB_p
float speedOverGround_mPerSec
uint32_t timeFromSensor_sec
float txBeamWidthAlong_deg
#SVT - Sound Velocity at Transducer. Data for sound velocity and temperature are measured directely o...
uint32_t timeFromSensor_sec
#CHE - Heave compatibility data part. Heave reference point is at transducer instead of at vessel ref...
uint32_t timeFromSensor_nanosec
float totalSignalLength_sec
uint16_t sensorDataContents
uint16_t numBytesInfoData
uint32_t timeFromSensor_nanosec
uint16_t numBytesPerSample
#MWC - Multibeam Water Column Datagram. Entire datagram containing several sub structs.
float z_waterLevelReRefPoint_m
uint8_t dataFromSensor[MAX_SCL_DATALENGTH]
uint16_t numBytesPerSample
#IB - Results from online built in test (BIST). Definition used for three different BIST datagrams...
float twoWayTravelTime_sec
float detectionWindowLength_sec
#SKM - Sensor attitude data block. Data given timestamped, not corrected.
#MRZ - Multibeam Raw Range and Depth datagram. The datagram also contains seabed image data...
int8_t posDataFromSensor[MAX_SPO_DATALENGTH]
uint16_t detectedRangeInSamples
float detectionUncertaintyVer_m
float meanAbsCoeff_dBPerkm
#SVP - Sound Velocity Profile. Data from sound velocity profile or from CTD profile. Sound velocity is measured directly or estimated, respectively.
Definition of #IIP datagram containing installation parameters and sensor format settings. Details in separate document Installation parameters
uint16_t numBytesPerSample
Part of Height datagram, giving corrected and uncorrected data as received from sensor.
#MWC - Beam sample phase info, specific for each beam and water column sample. numBeams * numSampleDa...
float beamIncAngleAdj_deg
float detectionUncertaintyHor_m
#SPO - Struct of position sensor datagram. Data from active sensor will be motion corrected if in...
#CPO - Struct of compatibility position sensor datagram. Data from active sensor will be motion c...
#MRZ - Data for each sounding, e.g. XYZ, reflectivity, two way travel time etc.
#MWC - Beam sample phase info, specific for each beam and water column sample. numBeams * numSampleDa...
#SKM - data from attitude and attitude velocity sensors.
Multibeam (M) datagrams - data partition information. General for all M datagrams.
#MWC - data block 1: transmit sectors, general info for all sectors
uint16_t numBytesInfoPart
uint16_t numExtraDetections
Sensor (S) output datagram - common part for all external sensors.
uint16_t numSoundingsMaxMain
float transmitArraySizeUsed_deg
#SPO - Sensor position data block. Data from active sensor is corrected data for position system inst...
float maxTotalTxPulseLength_sec
struct EMdgmMWCrxBeamData_def * beamData_p
Information of repeated sensor data in one datagram.
uint16_t numExtraDetectionClasses
float soundVelocity_mPerSec
uint8_t TVGfunctionApplied
float WCNomBeamAngleAcross_deg
struct EMdgmSVPpoint_def sensorData[MAX_SVP_POINTS]
#SKM - delayed heave. Included if available from sensor.
uint16_t numBytesPerTxSector
float soundVelocity_mPerSec
int32_t clockDevPU_nanosec
uint8_t numBytesPerBeamEntry
#MRZ - ping info. Information on vessel/system level, i.e. information common to all beams in the cur...
float starbSectorEdge_deg
uint16_t sensorDataContents
float sourceLevelApplied_dB
uint16_t realTimeCleanInfo
float freqRangeHighLim_Hz
#MWC - data block 2: receiver, general info
uint16_t numBytesInfoPart
float receiverSensitivityApplied_dB
Definition of #IOP datagram containing runtime parameters, exactly as chosen by operator in the K-Con...
uint8_t attitudeSensorStatus
uint16_t numSoundingsValidMain
#MRZ - receiver specific information.