-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.d.ts
32 lines (30 loc) · 801 Bytes
/
index.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/* tslint:disable */
/* eslint-disable */
/* auto-generated by NAPI-RS */
export interface GridShape {
rows: number
cols: number
}
export interface LatLng {
latitude: Float64Array
longitude: Float64Array
}
export function parseMessagesFromBuffer(buffer: Buffer): unknown[]
export class GribMessage {
static parseFromBuffer(buffer: Buffer, offset: number): GribMessage
get varName(): string
get varAbbrev(): string
get units(): string
get forecastDate(): Date
get referenceDate(): Date
get proj(): string
get crs(): string
get gridShape(): GridShape
get latlng(): LatLng
get data(): Float64Array
}
export class GribMessageFactory {
static fromBuffer(buffer: Buffer): GribMessageFactory
get availableMessages(): Array<string>
getMessage(key: string): GribMessage
}