UNPKG

s2-tools

Version:

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

32 lines 1.28 kB
import { BufferReader } from '../../..'; import type { Grib2Sections } from '..'; import type { Reader } from '../../..'; export * from './complexUnpacking'; export * from './templates'; /** Data Section Return Type */ export type Grib2DataSection = ReturnType<typeof parseGrib2Section7>; /** * Data Section * * [Read more...](https://www.nco.ncep.noaa.gov/pmb/docs/grib2/grib2_doc/grib2_sect7.shtml) * @param section - The raw section data to parse * @param sections - The other sections that have been parsed (1-6) * @returns - Parsed Data Information with a function to decode the data */ export declare function parseGrib2Section7(section: Reader, sections: Grib2Sections): { /** Number of GRIB section */ sectionNumber: number; /** Name of Grib section */ sectionName: "Data Section"; /** Length of GRIB section */ length: number; /** data that has yet to be decoded */ rawData: BufferReader; /** * Data in a format described by data Template 7.X, where X is the data representation * template number given in octets 10-11 of [Section 5](https://www.nco.ncep.noaa.gov/pmb/docs/grib2/grib2_doc/grib2_sect5.shtml). * @returns - the raw parsed data */ getData(): number[]; }; //# sourceMappingURL=index.d.ts.map