You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can use GDAL to process GRIB2 files successfully in quiet mode without messages being logged to console.
Actual behavior
GDAL logs warning and error messages to console in quiet mode, despite successfully processing the GRIB2 file.
Reproduction
Attached is a GRIB2 file from the HRRR weather model, which is the most frequent culprit. When handling these GRIB2 files, the console is cluttered with
When this weather model is processed as part of a data processing pipeline, the console is filled with thousands of these messages with no easy way to suppress them.
You can gdalinfo this file and see the warning message emitted before the gdalinfo output: hrrr_temperature.grib2.zip
Operating system
All
GDAL version and provenance
3.7.2 (but this has been an issue for years)
The text was updated successfully, but these errors were encountered:
the warning message is legitimate (there is 1 trailing byte at the end of the GRIB file), but in #8576 I've reduced its verbosity as a GDAL debug message (so not visible by default)
Expected behavior
I can use GDAL to process GRIB2 files successfully in quiet mode without messages being logged to console.
Actual behavior
GDAL logs warning and error messages to console in quiet mode, despite successfully processing the GRIB2 file.
Reproduction
Attached is a GRIB2 file from the HRRR weather model, which is the most frequent culprit. When handling these GRIB2 files, the console is cluttered with
despite running GDAL in quiet mode.
Regardless, the file is processed correctly.
When this weather model is processed as part of a data processing pipeline, the console is filled with thousands of these messages with no easy way to suppress them.
You can
gdalinfo
this file and see the warning message emitted before thegdalinfo
output:hrrr_temperature.grib2.zip
Operating system
All
GDAL version and provenance
3.7.2 (but this has been an issue for years)
The text was updated successfully, but these errors were encountered: