heconvert

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.

Installation

Users can download either source code or precompiled binaries for Linux (32 bit), Mac, Mac (Intel) and SunOS 5.10 from their web siteexternal. Under Intel-based Linux machine, the precompiled binary worked.

To build the binary from the source code, users need to install several libraries: HDF4external , HDF5external , 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.

There was a syntax error in the top-level Makefile in HE2toHE5Covert_V2.0 on Linux platform. Makefile_linux in V2.0 requires adding $(HDF5LIB)/libhdf5_hl.a between HDFEOS5_LIB and HDF5LIB on the $(LIBS) line. These are known problems and will be addressed in a release due out by end of 2010.

Usage

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.

Figure 1 Convertan an HDF-EOS2 file into an HDF-EOS5 file
$./HEConvert_linux32 -i input.he2 -o output.he5
Optionally, users can specify compression options -c. For more information, refer to their documentexternal.

We have successfully tested HE2toHE5Covert Version 2.0 with HDF grid and swath data files. For example, see: swath data fileexternal.


Last modified: 12/15/2010
About Us | Contact Info | Archive Info | Disclaimer
Sponsored by NASA Cooperative Agreement Grant Number NNX08AO77A / Maintained by The HDF Group