The HDF-EOS5 to netCDF-4 Converter is a tool that converts
an
HDF-EOS5
file to an equivalent
netCDF-4
file. Unlike the
HDF-EOS5 Augmentation Tool, this program creates a new file. This generated
file is a netCDF-4 file; so, HDF-EOS5 cannot read it. (
Download)
This program requires two libraries.
configure
script is included in the package. The paths to
HDF5
and HDF-EOS5 should be
passed to
configure. One can also specify the path to netCDF-4 if one wants to run
the test suite in the package. Specifying h5cc as CC is a good way to avoid
linking problems.
Makefile. With Makefile, one can
build this program by issuing make command. The generated binary is named
eos52nc4.
This program takes exactly two arguments: input file name and output file name. Then, this program reads the input file, and creates the output file of the netCDF-4 format.
This program assumes that all HDF5 datasets are accessible via the HDF-EOS5 API. This limitation is caused by the fact that this program uses the HDF-EOS5 API to collect all information. If an HDF-EOS5 file contains an HDF5 dataset that cannot be accessed by the HDF-EOS5 API, this program does not have a chance to convert it, and the generate file will not contain any information about that dataset.
Download the HDF-EOS5 to netCDF-4 Converter.