vgrib2
Version:
[](https://badge.fury.io/js/vgrib2)
11 lines (10 loc) • 524 B
TypeScript
import { Buffer } from 'buffer/';
import { GRIBPacket, GRIBPacketValues } from './types/grib';
import { Sections, SectionValues } from './types/sections';
/**
*
* @param data Buffer containing entire GRIB file
* @returns Array of GRIB Chunk Buffers containing individual GRIB definitions in file
*/
export declare const splitGribChunks: (data: Buffer) => Array<Buffer>;
export declare const createPacket: <T extends Sections | SectionValues>(sections: T) => T extends Sections ? GRIBPacket : GRIBPacketValues;