HEConvert
HEConvert is a command-line conversion utility used to convert
HDF-EOS Version 2.x files to HDF-EOS Version 5.x. Upon successful
completion of HEConvert there will exist a fully qualified HDF-EOS
Version 5.x file that is based on using the HDF5 library. Starting
with the 2011 version HEConvert will convert non-HDF-EOS objects
and their attributes to HDF5.
You will need to install the following software (or newer version)
for compiling the source code:
HDF-EOS2.19v1.00
HDF-EOS5.1.15
HDF4.2.10
hdf5-1.8.12
jpegsrc.v6b
szip-2.1
zlib-1.2.8
After installation of HDF and HDF-EOS, typing "make" in the
heconvert directory will indicate which environment variables are
needed to be set before typing this "make" for successful creation
of the HEConvert executable.
The following is an example of how HEConvert works:
HEConvert -i Infile.hdf4 -o Outfile.hdf5
The above command will grab the file Infile.hdf4, check for the
existence of any HDF-EOS objects (Swath/Point/Grid). Once it
determines how many objects exist they will be read in, converted to
HDF-EOS Version 5.x types, and written out to the file Outfile.hdf5.
It will also detect objects that are written using native HDF4 (HDF4
objects), and will convert them to HDF5 objects. If the HDF4 objects
are for dimension scales then the converter will convert HDF4
dimension scales into HDF-EOS5 dimension scales
To receive help with HEConvert type:
HEConvert -h
The following message will appear:
*************
HEConvert converts HDF-EOS2 objects to HDF-EOS5 objects
and HDF4 objects to HDF5 objects
*************
Usage:
HEConvert -i -o