Commit 2571ead4 authored by BERGER's avatar BERGER
Browse files

Activation de l'attribut conversion_equation_type

parent 7f3bfeaa
......@@ -4670,8 +4670,8 @@ class BeamGroup1Grp:
vlen_type = g.createVLType(vlen_type_dict[key], key)
if "beam_mode" not in attributes:
g.beam_mode = "null"#Mode of the beam in this subgroup, taken from the defined vocabulary of: “vertical” (a set of beams that form a vertical slice through the water), ”horizontal” (a set of beams that form a nominally horizontal plane through the water), and ”inspection” (a set of beams with arbitrary pointing directions).
#if "conversion_equation_type" not in attributes:
#g.conversion_equation_type = #Type of equation used to convert backscatter measurements into volume backscattering strength and target strength.
if "conversion_equation_type" not in attributes:
g.conversion_equation_type = 5 #Type of equation used to convert backscatter measurements into volume backscattering strength and target strength.
if "preferred_MRU" not in attributes:
g.preferred_MRU = 0#Index of the MRU sensor to use by default. If the sensor used can be dynamically changed, refer to the variable active_MRU. Index matches the ones used in the Platform MRU sensors variables.
if "preferred_position" not in attributes:
......@@ -10032,8 +10032,8 @@ class GridGroup1Grp:
vlen_type = g.createVLType(vlen_type_dict[key], key)
if "beam_mode" not in attributes:
g.beam_mode = "null"#Mode of the beam in this subgroup, taken from the defined vocabulary of: “vertical” (a set of beams that form a vertical slice through the water), ”horizontal” (a set of beams that form a nominally horizontal plane through the water), and ”inspection” (a set of beams with arbitrary pointing directions).
#if "conversion_equation_type" not in attributes:
#g.conversion_equation_type = #Type of equation used to convert backscatter measurements into volume backscattering strength and target strength.
if "conversion_equation_type" not in attributes:
g.conversion_equation_type = 5 #Type of equation used to convert backscatter measurements into volume backscattering strength and target strength.
#write attributes passed as argument
for key, value in attributes.items():
......
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