I am working with some new Grib2 data from NCEP that using PNG packing. Please consider rebuilding with '--with-png-support'. For example:
$ grib_histogram /tmp/RadarOnly_QPE_01H_00.00_20141015-175400.grib2
GRIB_API ERROR : grib_accessor_data_png_packing : png support no enabled. Please rerun configure with --with-png-support
GRIB_API ERROR : unable to get codedValues as double array (Function not yet implemented)
grib_histogram.c at line 75: grib_get_double_array(h,"values",values,&size) failed: Function not yet implemented (/tmp/RadarOnly_QPE_01H_00.00_20141015-175400.grib2)
I rebuild locally with '--with-png-support' and it works just fine.
grib_api-1.12.3-4.el6 has been submitted as an update for Fedora EPEL 6.
* should fix your issue,
* was pushed to the Fedora EPEL 6 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=epel-testing grib_api-1.12.3-4.el6'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
Thanks for the quick help on this. I think you need to add a PNG rpm requirement though to the SPEC.
checking for PNG ...
checking png.h usability... no
checking png.h presence... no
checking for png.h... no
checking for png_read_png in -lpng... no
checking if PNG support package is complete... no -- some components failed test
$ ldd /usr/lib64/libgrib_api.so.0
linux-vdso.so.1 => (0x00007fffadcea000)
libjasper.so.1 => /usr/lib64/libjasper.so.1 (0x00007f707ad12000)
libm.so.6 => /lib64/libm.so.6 (0x00007f707aa8d000)
libc.so.6 => /lib64/libc.so.6 (0x00007f707a6f9000)
libjpeg.so.62 => /usr/lib64/libjpeg.so.62 (0x00007f707a4a9000)
grib_api-1.12.3-5.el6 has been submitted as an update for Fedora EPEL 6.
grib_api-1.12.3-5.el7 has been submitted as an update for Fedora EPEL 7.
grib_api-1.12.3-5.fc21 has been submitted as an update for Fedora 21.
grib_api-1.12.3-5.fc20 has been submitted as an update for Fedora 20.
Thanks so much, I was able to verify that the RHEL6 EPEL testing grib_api-1.12.3-5.el6 works...
NP, sorry for the initial mistake - too tired. Thanks for the bug report.
grib_api-1.12.3-5.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.
grib_api-1.12.3-5.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.
grib_api-1.12.3-5.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.
grib_api-1.12.3-5.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.