NCEPLIBS-g2c icon indicating copy to clipboard operation
NCEPLIBS-g2c copied to clipboard

gz or other format support

Open oxygen77 opened this issue 1 year ago • 2 comments
trafficstars

We can find from some sources Grib2 files that are compressed (gz files mostly), looks to me has it is defeating the purpose of having embended compression inside grib format at data level with V2 but it is seen.

Would it be possible to add support for this ?

Currently I do all read externally except the seekgb. I can of course do the decompression before but it would use probably a temp file which is not convinient on mobile or devices with small footprint.

oxygen77 avatar Jul 07 '24 13:07 oxygen77

This sounds like a good idea. Unfortunately it will not make it into the next, 2.0.0 release. Can you contribute a solution?

edwardhartnett avatar Oct 29 '24 11:10 edwardhartnett

FWIW, on the Python side, grib2io supports reading Gzipped GRIB2 files. The Multi Radar Multi Sensor (MRMS) GRIB2 are gzipped: https://mrms.ncep.noaa.gov/2D/MultiSensor_QPE_06H_Pass2/

EricEngle-NOAA avatar Feb 27 '25 21:02 EricEngle-NOAA