/usr/share/eccodes/definitions/grib2/template.5.2.def is in libeccodes-data 2.0.2-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 | # Copyright 2005-2016 ECMWF.
#
# This software is licensed under the terms of the Apache Licence Version 2.0
# which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
#
# In applying this licence, ECMWF does not waive the privileges and immunities granted to it by
# virtue of its status as an intergovernmental organisation nor does it submit to any jurisdiction.
#
# START 2/template.5.2 ----------------------------------------------------------------------
# TEMPLATE 5.2, Grid point data - complex packing
include "grib2/template.5.packing.def";
include "grib2/template.5.original_values.def";
# Group splitting method used
codetable[1] groupSplittingMethodUsed ('5.4.table',masterDir,localDir);
# Missing value management used
codetable[1] missingValueManagementUsed ('5.5.table',masterDir,localDir);
# Primary missing value substitute
unsigned[4] primaryMissingValueSubstitute ;
# Secondary missing value substitute
unsigned[4] secondaryMissingValueSubstitute ;
# NG - Number of groups of data values into which field is split
unsigned[4] numberOfGroupsOfDataValues ;
alias NG = numberOfGroupsOfDataValues;
# Reference for group widths
# NOTE 12 NOT FOUND
unsigned[1] referenceForGroupWidths ;
# Number of bits used for the group widths
# (after the reference value in octet 36 has been removed)
unsigned[1] numberOfBitsUsedForTheGroupWidths ;
# Reference for group lengths
# NOTE 13 NOT FOUND
unsigned[4] referenceForGroupLengths ;
# Length increment for the group lengths
# NOTE 14 NOT FOUND
unsigned[1] lengthIncrementForTheGroupLengths ;
# True length of last group
unsigned[4] trueLengthOfLastGroup ;
# Number of bits used for the scaled group lengths
# (after subtraction of the reference value given in octets 38-41 and division
# by the length increment given in octet 42)
unsigned[1] numberOfBitsForScaledGroupLengths ;
alias numberOfBitsUsedForTheScaledGroupLengths=numberOfBitsForScaledGroupLengths;
# END 2/template.5.2 ----------------------------------------------------------------------
|