Section 7 - Template 2 : Grid point data - complex packing Note: For most templates, details of the packing process are described in regulation 92.9.4

Octets Key Type Content
6-xx NG group reference values (XI in the decoding formula), each of which is encoded using the number of bits specified in octet 20 of Data Representation Template 5.0. Bits set to zero shall be appended as necessary to ensure this sequence of numbers ends on an octet boundary.
[xx+1]-yy NG group widths, each of which is encoded using the number of bits specified in octet 37 of Data Representation Template 5.2. Bits set to zero shall be appended as necessary to ensure this sequence of numbers ends on an octet boundary.
[yy+1]-zz NG scaled group lengths, each of which is encoded using the number of bits specified in octet 47 of Data Representation Template 5.2. Bits set to zero shall be appended as necessary to ensure this sequence of numbers ends on an octet boundary. (see Note 14 of Data Representation Template 5.2)
[zz+1]-nn Packed values (X2 in the decoding formula), where each value is a deviation from its respective group reference value.
Notes:

( 1) Group descriptors mentioned above may not be physically present; if associated field width is 0.

( 2) Group lengths have no meaning for row by row packing; for consistency associated field width should then be encoded as 0. So no specific test for row by row case is mandatory at decoding software level to handle encoding/decoding of group descriptors.

( 3) Scaled group lengths, if present, are encoded for each group. But the true last group length (unscaled) should be taken from Data Representation Template.

( 4) For groups with a constant value, associated field width is 0, and no incremental data are physically present.