Commit a4175b0c authored by Cyrille Poncelet's avatar Cyrille Poncelet

update in vendor groups for reson files

parent 00f2efdc
This diff is collapsed.
......@@ -1525,32 +1525,7 @@
}
]
},
{
"name": "samples_array_count",
"dims": [
"time"
],
"type": "ushort",
"attributes": [
{
"name": "long_name",
"value": "number of KM binary samples"
}
]
},
{
"name": "bytes_per_sample_count",
"dims": [
"time"
],
"type": "ushort",
"attributes": [
{
"name": "long_name",
"value": "number of bytes per sample"
}
]
},
{
"name": "dgm_version",
"dims": [
......@@ -2256,24 +2231,7 @@
],
"types": [],
"attributes": [],
"variables": [
{
"name": "system_serial_number",
"dims": [
"runtime_count"
],
"type": "ushort",
"attributes": [
{
"name": "long_name",
"value": "System Serial Number"
},
{
"name": "valid_min",
"value": "100"
}
]
},
"variables": [
{
"name": "time",
"comment": "Timestamp at which each ping occurred. ",
......@@ -2907,45 +2865,6 @@
}
]
},
{
"name": "system_id",
"dims": [
"runtime_count"
],
"type": "ubyte",
"attributes": [
{
"name": "long_name",
"value": "system id"
}
]
},
{
"name": "info",
"dims": [
"runtime_count"
],
"type": "ushort",
"attributes": [
{
"name": "long_name",
"value": "info"
}
]
},
{
"name": "status",
"dims": [
"runtime_count"
],
"type": "ushort",
"attributes": [
{
"name": "long_name",
"value": "status"
}
]
},
{
"name": "runtime_txt",
"dims": [
......@@ -3194,6 +3113,25 @@
}
]
},
{
"name": "water_line_vertical_offset",
"dims": [
"installation"
],
"comment": "Vertical offset from reference point to waterline",
"type": "float",
"attributes": [
{
"name": "unit",
"value": "m"
},
{
"name": "long_name",
"value": "Vertical offset from reference point to waterline in meters. "
}
]
},
{
"name": "MRU_time_delay",
"dims": [
......
This diff is collapsed.
......@@ -30,6 +30,8 @@ public class SCAttributeAdapter {
case "short":
case "ushort":
return Arrays.asList(String.format("setShortFillValue(%s);",formatAttribute(attribute, variable.getType())));
case "ubyte":
return Arrays.asList(String.format("setByteFillValue((byte) %s);",formatAttribute(attribute, variable.getType())));
case "byte":
return Arrays.asList(String.format("setByteFillValue((byte) %s);",formatAttribute(attribute, variable.getType())));
case "uint":
......@@ -90,6 +92,7 @@ public class SCAttributeAdapter {
case "short":
case "ushort":
return String.format("(short) %s",attribute.value == null ? "0":attribute.value);
case "ubyte":
case "byte":
return String.format("(byte) %s",attribute.value == null ? "0":attribute.value);
case "uint":
......
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