gis-tools-ts - v0.8.0
    Preparing search index...

    Function grib2Template350

    • GRIB2 - GRID DEFINITION TEMPLATE 3.50

      • The pentagonal representation of resolution is general. Some common truncations are special cases of the pentagonal one:
        • Triangular: M = J = K
        • Rhomboidal: K = J + M
        • Trapezoidal: K = J, K > M

      Parameters

      • section: Reader

        byte block for template 3.50

      Returns {
          buildGrid: () => VectorPoint<Record<string, number>>[];
          j: number;
          k: number;
          m: number;
          representationMode: { code: number; value: string };
          representationType: { code: number; value: string };
      }

      • The parsed template
      • buildGrid: () => VectorPoint<Record<string, number>>[]

        Convert this section into grid data

      • j: number

        J ― pentagonal resolution parameter

      • k: number

        K ― pentagonal resolution parameter

      • m: number

        M ― pentagonal resolution parameter

      • representationMode: { code: number; value: string }

        Representation mode indicating the order of the coefficients (see Code Table 3.7)

      • representationType: { code: number; value: string }

        Representation type indicating the method used to define the norm (see Code Table 3.6)