HDF is a library and platform independent data format for the storage and exchange of scientific data. It includes C, Fortran, and Java calling interfaces, and utilities for analyzing and converting HDF data files. (Note: Java interfaces are not included in this package. If you need them you can extract them from the source.)
HDF-4.1r3: description + notes
HDF is developed and supported by NCSA, and is freely available. It is used world-wide in many fields, including Environmental Science, Neutron Scattering, Non-Destructive Testing, and Aerospace, to name a few.
Scientific projects that use HDF include NASA's Mission to Planet Earth, and the DOE's Accelerated Strategic Computing Initiative.
Included utilities are:
- hdf24to8 converts 24-bit raster images to hdf 8-bit images
- hdfcomp re-compresses an 8-bit raster hdf file
- hdfls lists basic information about an hdf file
- hdfpack compacts an hdf file
- hdftopal extracts a palette from an hdf file
- hdftor8 extracts 8-bit raster images and palettes from an hdf file
- hdfed edits an hdf file
- paltohdf converts a raw palette to hdf
- r8tohdf converts 8-bit raster images to hdf
- ristosds converts a series of raster image hdf files into a single 3D sds hdf file.
- vcompat converts hdf vset v1.0 files to v2.0
- vmake creates vsets
- vshow dumps out vsets in an hdf file
- jpegtohdf converts jpeg images to hdf raster images
- hdftojpeg converts hdf raster images to jpeg images
- fp2hdf converts 2D and 3D floating point data sets into HDF SDS.
- ncdump converts netCDF files to ASCII
- ncgen converts ncdump output to a binary netCDF file or a C or FORTRAN program to generate the netCDF file.
NOTE: Developers intending to use this distribution of libdf or libmfhdf for application development should be sure to read the information below. Users installing HDF for the runtime environment or tools only need not read any further.
Developers intending to use this library for development of other freeware packages or their own software applications will need to be familiar with a few peculiarities due to the way that this library is packaged and installed. The reasons for this installation strategy are described further in the fw_common product release notes.
The header files and libraries in this package are installed into /usr/freeware. This means that when building software using this distribution you should be sure to do the following:
Following these guidelines will allow your application to safely and easily use the software in this package.
- Include the following flag on your compile lines:
-I/usr/freeware/includeThis flag will cause your compilations to correctly find the library's header files at compile time.
- Include one of the following flags on your link lines:
-L/usr/freeware/lib (if using o32 ABI) -L/usr/freeware/lib32 (if using n32 ABI) -L/usr/freeware/lib64 (if using 64 ABI)This flag will cause the linker to correctly find the library's archive or shared object files at link time.
- Additionally, include one of the following flags on your link lines:
-rpath /usr/freeware/lib (if using o32 ABI) -rpath /usr/freeware/lib32 (if using n32 ABI) -rpath /usr/freeware/lib64 (if using 64 ABI)This flag will allow the binary to locate the shared object library files when the application is run. This is required since the shared objects are stored in these /usr/freeware subdirectories which are not searched by the run-time linker by default.
- Finally, if you are building an installable package for inst (contributing to freeware, for example) be sure to make your package depend upon this package. Add the following line to your spec file:
prereq ( fw_HDF.sw.eoe 1230000000 1239999900 )
To auto-install this package, go back and click on the respective install icon.