mmomtchev / node-gdal-async

Node.js bindings for GDAL (Geospatial Data Abstraction Library) with full async support
https://mmomtchev.github.io/node-gdal-async/
Apache License 2.0
129 stars 26 forks source link

GRIB parsing issues for a specific dataset #96

Closed potion-cellar closed 1 year ago

potion-cellar commented 1 year ago

gdal-async is unable to read GRIB2 files from a particular dataset.

The reason I am filing this issue is because it seems the out-of-the-box default GDAL installation on Ubuntu and with OSGeo4W on Windows does not have the same problem and can read these files just fine.

The dataset in question is MRMS data: https://mrms.ncep.noaa.gov/data/2D/ -- any of the grib2 files in these folders do not work due to g2lib throwing Data Representation Template 5.41 not yet implemented

Template 5.41 pertains to the use of the PNG format (https://www.nco.ncep.noaa.gov/pmb/docs/grib2/grib2_doc/grib2_temp5-41.shtml).

Not sure if the built in degrib and other related libs in gdal-async are old, but I did try mess with the GRIB2 CSV files that are used and that did not make an appreciable difference.

potion-cellar commented 1 year ago

Thank you!