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

    Function parseGrib2Section1

    • Identification Section

        1. Local tables define those parts of the master table which are reserved for local use except for the case described below. In any case, the use of local tables in the messages are intended for non-local or international exchange is strongly discouraged.
        1. If octet 10 is set to 255 then only local tables are in use. In this case, the local table version number (octet 11) must not be zero nor missing. Local tables may include entries from the entire range of the tables.
        1. If octet 11 is zero, octet 10 must contain a valid master table version number and only those parts of the tables not reserved for local use may be used.
        1. If octets 8-9 is zero, Not a sub-center, the originating/generating center is the center defined by octets 6-7.

      Parameters

      • section: Reader

        The byte block to pull ideintification information

      Returns {
          center: { code: number; description: string };
          gribLocalTablesVersion: { code: number; description: string };
          gribMasterTablesVersion: { code: number; description: string };
          length: number;
          productionStatus: { code: number; description: string };
          refTime: Date;
          sectionName: "Identification Section";
          sectionNumber: number;
          significanceOfRT: { code: number; description: string };
          subcenter: { code: number; description: string };
          typeOfProcessedData: { code: number; description: string };
      }

      • The parsed identification section
      • center: { code: number; description: string }

        Identification of originating/generating center Table 0

      • gribLocalTablesVersion: { code: number; description: string }

        Version number of GRIB local tables used to augment Master Tables Table 1.1

      • gribMasterTablesVersion: { code: number; description: string }

        GRIB master tables version number Table 1.0

      • length: number

        Length of GRIB section

      • productionStatus: { code: number; description: string }

        Production Status of Processed data in the GRIB message Table 1.3

      • refTime: Date

        Reference Time

      • sectionName: "Identification Section"

        Name of Grib section

      • sectionNumber: number

        Number of GRIB section

      • significanceOfRT: { code: number; description: string }

        Significance of reference time Table 1.2

      • subcenter: { code: number; description: string }

        Identification of originating/generating subcenter Table C

      • typeOfProcessedData: { code: number; description: string }

        Type of processed data in this GRIB message Table 1.4