Constructor
new GRIB2Integration()
Methods
applySpatialSubsetting(data, gridDef, bbox) → {Object}
Apply spatial subsetting to GRIB2 data
Parameters:
| Name | Type | Description |
|---|---|---|
data |
Object | Grid data |
gridDef |
Object | Grid definition |
bbox |
Array | Bounding box [west, south, east, north] |
Returns:
Subsetted data
- Type
- Object
(async) extractGRIB2Data(grib2Data, options) → {Promise.<Object>}
Extract GRIB2 data with proper error handling
Parameters:
| Name | Type | Description |
|---|---|---|
grib2Data |
Object | GRIB2 data object |
options |
Object | Extraction options |
Returns:
Extracted data
- Type
- Promise.<Object>
(async) parseGRIB2Buffer(buffer, options) → {Promise.<Object>}
Parse GRIB2 buffer and extract grid data
Parameters:
| Name | Type | Description |
|---|---|---|
buffer |
ArrayBuffer | GRIB2 file buffer |
options |
Object | Extraction options |
Returns:
Parsed grid data
- Type
- Promise.<Object>