s2-tools
Version:
A collection of geospatial tools primarily designed for WGS84, Web Mercator, and S2.
29 lines • 1.12 kB
TypeScript
import { BufferReader } from '../../..';
import type { Reader } from '../../..';
/** The output of `parseGrib2Section6` */
export type Grib2BitMapSection = ReturnType<typeof parseGrib2Section6>;
/**
* # Bit-Map Section
*
* ## Links
* - [Consult with this page to understand their purpose.](https://confluence.ecmwf.int/display/UDOC/What+is+the+GRIB+bitmap+-+ecCodes+GRIB+FAQ).
* - [Docs](https://www.nco.ncep.noaa.gov/pmb/docs/grib2/grib2_doc/grib2_sect6.shtml).
* @param section - The byte block to understan how to parse bit-map data
* @returns - Parsed bit-map section
*/
export declare function parseGrib2Section6(section: Reader): {
/** Number of GRIB section */
sectionNumber: number;
/** Name of Grib section */
sectionName: "Bit-Map Section";
/** Length of GRIB section */
length: number;
/** Bit-map indicator (See [Table 6.0](https://www.nco.ncep.noaa.gov/pmb/docs/grib2/grib2_doc/grib2_table6-0.shtml)) */
bitMapIndicator: {
code: number;
description: string;
};
/** Bit-map */
bitMap: BufferReader | null;
};
//# sourceMappingURL=index.d.ts.map