eccodes/definitions/grib3/template.8.packing.def

18 lines
654 B
Modula-2

# Reference value (R)
# The copy_ok means that the value is copied when changing the representation
# e.g. from jpeg to simple packing.
ieeefloat referenceValue : read_only, copy_ok;
meta referenceValueError reference_value_error(referenceValue,ieee);
# Binary scale factor (E)
signed[2] binaryScaleFactor : read_only, copy_ok;
# Decimal scale factor (D)
signed[2] decimalScaleFactor ;
# Number of bits used for each packed value for simple packing, or for each group reference
# value for complex packing or spatial differencing
unsigned[1] bitsPerValue;
alias numberOfBits = bitsPerValue;
alias numberOfBitsContainingEachPackedValue = bitsPerValue;