calculate_uncertainty_ifremer¶
- HSTB.kluster.modules.tpu.calculate_uncertainty_ifremer(depth_offset, acrosstrack_offset, quality_factor)¶
Use the kongsberg reported Ifremer quality factor to calculate horizontal and vertical sonar uncertainty. This is the quality factor type reported in the MRZ datagram in .kmall files, and in the quality factor datagram in .all files.
Currently, soundings that fail the Kongsberg qf calculation are given a qf of 0.0. Still need a good way to deal with that
- Parameters
depth_offset (
Union[DataArray,array]) – 2d array (time, beam) of depth offsets relative to the transduceracrosstrack_offset (
Union[DataArray,array]) – 2d array (time, beam) of across track offsets relative to the transducerquality_factor (
Union[DataArray,array]) – 2d array (time, beam) of Ifremer quality factor. Assumes it is given in the kongsberg way (QF = Est(dz)/z = 100*10^-IQF)
- Returns
Union[xr.DataArray, np.array] – vertical uncertainty in meters for each sounding
Union[xr.DataArray, np.array] – horizontal uncertainty in meters for each sounding