UNPKG

s2-tools

Version:

A collection of geospatial tools primarily designed for WGS84, Web Mercator, and S2.

30 lines 1.05 kB
import { BufferReader } from '../../..'; import type { Reader } from '../../..'; /** The output of `parseGrib2Section2` */ export type Grib2LocalUseSection = ReturnType<typeof parseGrib2Section2>; /** * # SECTION 2 - LOCAL USE SECTION * * ## Notes * 1. Center=7 (NCEP), subcenter=14(NWS Meteorological Development Laboratory (MDL)) * used octet 6 to indicate which local use table to use. For MDL, octet 6=1 indicates use: * "MDL Template 2.1" * * ## Links * - [Read more...](https://www.nco.ncep.noaa.gov/pmb/docs/grib2/grib2_doc/grib2_sect2.shtml) * @param section - The byte block to pull basic local information * @returns - a parsed explaination of local use. */ export declare function parseGrib2Section2(section: Reader): { /** Number of GRIB section */ sectionNumber: number; /** Name of Grib section */ sectionName: "Local Use Section"; /** Length of GRIB section */ length: number; /** Section 2 Contents */ contents: { data: BufferReader; }; }; //# sourceMappingURL=index.d.ts.map