The heconvert is a command-line tool that converts an HDF-EOS2 file into an equivalent HDF-EOS5 file. This tool can convert all HDF-EOS2 objects: grid, swath and point.
Users can download source code from this website.
To build the binary from the source code, users need to install several libraries:
HDF4
,
HDF5
,
HDF-EOS2
and
HDF-EOS5. The heconvert package does not use AutoConf/AutoMake,
therefore, the user must manually set several environment variables to provide paths
to those libraries. Refer to
Makefile
for the list of required environment variables.
This tool is simple to use. Basically, it takes an HDF-EOS2 file as the input and an HDF-EOS5 file for the output.
For example, the following command will convert input.he2
into
output.he5
.
-c
. For more information,
refer to this document.
We have successfully tested HE2toHE5Covert Version 3.0 with HDF grid and swath data files. For example, an HDF-EOS2 MODIS Swath can be converted to an HDF-EOS5 file.