Commit af478c32 authored by nmenard's avatar nmenard
Browse files

Archivage du sounderId et du channelName

parent c7189160
......@@ -173,6 +173,7 @@ class hac2SonarNetCDF:
sonarGroup = xsf.SonarGrp()
sonarGroupDs = sonarGroup.create_group(parent_group=ds)
sonarGroupDs.sonar_manufacturer = "Simrad"
sonarGroupDs.sonar_serial_number = str(sounder.m_SounderId)
if sounder.m_isMultiBeam:
sonarGroupDs.sonar_model = "ME70"
else:
......@@ -247,6 +248,7 @@ class hac2SonarNetCDF:
beamGroup.echoangle_major_sensitivity[channelIdx] = softChan.m_beamAthwartAngleSensitivity
beamGroup.echoangle_minor_sensitivity[channelIdx] = softChan.m_beamAlongAngleSensitivity
beamGroup.beam[channelIdx] = softChan.m_channelName
channelfrequencies.append(softChan.m_acousticFrequency)
channelabsorptions.append(softChan.m_absorptionCoef * 0.0001 * 0.001)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment