h52gif does not accept the palette switch

Hi,

I am trying to use h52gif with the -p switch to specify a palette to be
used, but it does not seem to work.

I am using HDF5 version 1.8.10.

By the documentation h52gif should accept the -p switch:
http://www.hdfgroup.org/HDF5/doc/RM/Tools.html#Tools-H52GIF

On the other hand h52gif binary does not recognize it:
$ h52gif
Usage: h52gif <h5_file> <gif_file> -i <h5_image>
       h52gif -V
        Print HDF5 library version and exit
h52gif expects *at least* one h5_image.

The follow command has the same output:
$ h52gif /data/path/h5file.h5 output.gif -i CTTH_TEMPER -p 03-PALETTE

The source code of the version 1.8.10 does not hint to the the -p switch
http://fossies.org/dox/hdf5-1.8.10/hdf2gif_8c_source.html

whereas the version 1.6.5 is one of the last ones that does
http://www.nco.ncep.noaa.gov/pmb/codes/nwprod/gempak/nawips2/extlibs/HDF5/v1.6.5/tools/gifconv/hdf2gif.c

What could be the case?

Best regards,
Peeter

···

--
View this message in context: http://hdf-forum.184993.n3.nabble.com/h52gif-does-not-accept-the-palette-switch-tp4025669.html
Sent from the hdf-forum mailing list archive at Nabble.com.