vgrib2
Version:
[](https://badge.fury.io/js/vgrib2)
22 lines (21 loc) • 772 B
TypeScript
import { Buffer } from 'buffer/';
export declare type BitMapSectionValues = ReturnType<typeof parseSection6>;
export declare type BitMapSection = ReturnType<typeof parseSection6>;
/**
* Bit-Map Section
*
* [Read more...](https://www.nco.ncep.noaa.gov/pmb/docs/grib2/grib2_doc/grib2_sect6.shtml)
*/
export declare const parseSection6: (section: Buffer) => {
/** Number of GRIB section */
sectionNumber: number;
/** Name of Grib section */
sectionName: string;
/** Length of GRIB section */
length: number;
/** Section 6 Contents */
contents: {
/** Bit-map indicator (See [Table 6.0](https://www.nco.ncep.noaa.gov/pmb/docs/grib2/grib2_doc/grib2_table6-0.shtml)) */
bitMapIndicator: number;
};
};