This file is indexed.

/usr/share/eccodes/definitions/grib2/template.7.51.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
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
# 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.
#

# TEMPLATE 7.51, Spherical harmonics - complex packing
# Octets 6-(5+I*TS) : Data values from the unpacked subset
# (IEEE floating-point values on I octets)
# ????          data_values_from_the_unpacked_subset

constant GRIBEXShBugPresent = 0;
constant sphericalHarmonics = 1;
constant complexPacking = 1;

meta codedValues data_g2complex_packing(
          section7Length,
          offsetBeforeData,
          offsetSection7,

          unitsFactor,
      	  unitsBias,
          changingPrecision,
          numberOfValues,
          bitsPerValue,
          referenceValue,
          binaryScaleFactor,
          decimalScaleFactor,

          GRIBEXShBugPresent,
          unpackedSubsetPrecision,

          laplacianOperatorIsSet,
          laplacianOperator,

          subSetJ,
          subSetK,
          subSetM,

          pentagonalResolutionParameterJ,
          pentagonalResolutionParameterK,
          pentagonalResolutionParameterM,

          numberOfValues
      ): read_only;

 meta data.packedValues data_sh_packed(
          section7Length,
          offsetBeforeData,
          offsetSection7,

          unitsFactor,
          unitsBias,
          changingPrecision,
          numberOfValues,
          bitsPerValue,
          referenceValue,
          binaryScaleFactor,
          decimalScaleFactor,

          GRIBEXShBugPresent,
          unpackedSubsetPrecision,

          laplacianOperatorIsSet,
          laplacianOperator,

          subSetJ,
          subSetK,
          subSetM,

          pentagonalResolutionParameterJ,
          pentagonalResolutionParameterK,
          pentagonalResolutionParameterM
 ) : read_only;

 meta data.unpackedValues data_sh_unpacked(
          section7Length,
          offsetBeforeData,
          offsetSection7,

          unitsFactor,
          unitsBias,
          changingPrecision,
          numberOfValues,
          bitsPerValue,
          referenceValue,
          binaryScaleFactor,
          decimalScaleFactor,

          GRIBEXShBugPresent,
          unpackedSubsetPrecision,

          laplacianOperatorIsSet,
          laplacianOperator,

          subSetJ,
          subSetK,
          subSetM,

          pentagonalResolutionParameterJ,
          pentagonalResolutionParameterK,
          pentagonalResolutionParameterM
 ) : read_only;

meta packingError simple_packing_error(bitsPerValue,binaryScaleFactor,decimalScaleFactor,referenceValue,ieee) : no_copy;
meta unpackedError simple_packing_error(zero,binaryScaleFactor,decimalScaleFactor,referenceValue,ieee) : no_copy;

meta values data_apply_bitmap(codedValues,
                                bitmap,
                                missingValue,
                                binaryScaleFactor,
                                numberOfDataPoints,
                                numberOfValues) : dump;

template statistics "common/statistics_spectral.def";