Commit 9f9718bb authored by PONCELET's avatar PONCELET

remove multi line comment capacity

parent 613d1a94
......@@ -1893,9 +1893,9 @@
"obligation": "M",
"comment": "Real part or amplitude or power of backscatter measurements. Each element in the 2D matrix is a variable length vector (of type sample_t) that contains the samples for that beam and ping time.",
"dims": [
"ping_timeDim",
"ping_timeDim",
"beamDim"
],
],
"type": "sample_byte_t",
"attributes": [
{
......@@ -2832,7 +2832,7 @@
{
"name": "platform_vertical_offset",
"obligation": "M",
"comment": "Distance from the platform reference point to the water line (distance are positives downwards) . For ships and similar, this is called heave, but the concept applies equally well to underwater vehicle depth.",
"comment": "Distance from the platform reference point to the water line (distance are positives downwards). For ships and similar, this is called heave, but the concept applies equally well to underwater vehicle depth.",
"dims": [
"ping_timeDim"
],
......@@ -2848,11 +2848,10 @@
}
]
},
{
"name": "swath_dynamic_draught",
"obligation": "M",
"comment": "dynamic draught level interpolated for each swath (distance from nominal warter line, positif down)",
"name": "tx_transducer_depth",
"obligation": "O",
"comment": "Tx transducer depth below waterline at time of the ping (distance are positives downwards). This variable can be recomputed in most cases by applying lever arm and rotation matrix taking into account for roll and pitch, platform_vertical_offset but can also take into account for drop keel position",
"dims": [
"ping_timeDim"
],
......@@ -2860,7 +2859,7 @@
"attributes": [
{
"name": "long_name",
"value": "interpolated dynamic draught"
"value": "Tx transducer depth below waterline"
},
{
"name": "units",
......@@ -2869,28 +2868,10 @@
]
},
{
"name": "swath_tide",
"obligation": "M",
"comment": "tide interpolated for each swath (distance from nominal warter line, positif down), tide is considered as the distance from the water line to the reference coordinate (could be geoid, ellipsoid, or chart datum specified in vertical reference attribute) ",
"dims": [
"ping_timeDim"
],
"type": "float",
"attributes": [
{
"name": "units",
"value": "m"
},
{
"name": "long_name",
"value": "interpolated tide"
}
]
},
{
"name": "tx_transducer_zdepth",
"name": "waterline_to_chart_datum",
"obligation": "O",
"comment": "Tx transducer depth in meters below waterline, at time of midpoint of first tx pulse. For the tx array (head) used by this RX-fan. Use depth of TX1 to move depth point (XYZ) from water line to transducer (reference point of old datagram format). ",
"comment": "Vertical translation vector at the time of the ping matching the distance from the water line to the chart data reference (typically Lowest Astronomical Tide or Mean Sea Level). This variable is the vector obtains by adding the tide, the dynamic draught at the time of the ping and allow to position samples in an absolute referential.",
"dims": [
"ping_timeDim"
],
......@@ -2898,42 +2879,16 @@
"attributes": [
{
"name": "long_name",
"value": "Tx transducer depth below waterline"
"value": "vertical translation from waterline to chart datum reference "
},
{
"name": "units",
"value": "m"
}
]
},
{
"name": "swath_time",
"obligation": "M",
"comment": "Timestamp at which each ping occurred.",
"dims": [
"ping_timeDim"
],
"type": "ulong",
"attributes": [
{
"name": "calendar",
"value": "gregorian"
},
{
"name": "standard_name",
"value": "time"
},
{
"name": "units",
"value": "nanoseconds since 1970-01-01 00:00:00Z"
},
{
"name": "axis",
"value": "T"
},
{
"name": "long_name",
"value": "Time-stamp of each ping"
"name": "vertical_coordinate_reference_system",
"value": "MSL depth",
"comment": "The vertical datum to which distance are referred to. Possible values are 'MSL Depth' or 'LAT Depth'"
}
]
},
......
......@@ -11,10 +11,11 @@ public class Base {
public String getComment() {
//allow multiline comments with +
if(comment==null)
return "";
return comment.replace("+", "+\r\n");
//allow multiline comments with +
// return comment.replace("+", "+\r\n");
return comment;
}
public String getObligation() {
......
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