s2-tools
Version:
A collection of geospatial tools primarily designed for WGS84, Web Mercator, and S2.
31 lines • 1.41 kB
TypeScript
import type { Grib2BitMapSection } from '../6';
import type { Grib2DataRepresentationSection } from '../5';
import type { Grib2Sections } from '..';
import type { Reader } from '../../..';
/**
* Converts data Buffer according to data representation section
* @param reader - The raw data to convert
* @param sections - The sections of the GRIB2 message that have been parsed so far
* @returns Converted data
*/
export declare function getGrib2Template7(reader: Reader, sections: Grib2Sections): number[];
/**
* # Data Template 7.0 - Grid point data - simple packing
*
* [Read more...](https://www.nco.ncep.noaa.gov/pmb/docs/grib2/grib2_doc/grib2_temp7-0.shtml)
* @param reader - The raw data to convert
* @param drs - The data representation section
* @returns - The converted data
*/
export declare function simpleUnpacking(reader: Reader, drs: Grib2DataRepresentationSection): number[];
/**
* # Data Template 7.40 - Grid point data - JPEG 2000 code stream format
*
* [Read more...](https://www.nco.ncep.noaa.gov/pmb/docs/grib2/grib2_doc/grib2_temp7-40.shtml)
* @param reader - The raw data to convert
* @param drs - The data representation section
* @param bms - The bit map section
* @returns - The converted data
*/
export declare function jpeg2000Unpacking(reader: Reader, drs: Grib2DataRepresentationSection, bms: Grib2BitMapSection): number[];
//# sourceMappingURL=templates.d.ts.map