hdf images hdf images

HDF4 Tutorials and Examples

Tutorials

Learning HDF(4)     [ Compressed ]    
Learn how to write simple application programs using HDF and to analyze the resulting HDF files. It includes:

  • Example Programs
  • HTML version of the HDF 4.1r2 Reference Manual.
  • HTML version of the HDF 4.1r2 User's Guide.

Building and Using HDF on Windows


Examples

User's Guide Examples

      User's Guide Examples in ASCII     [ Compressed ]

Converting Remotely Sensed Data into Chunked HDF (4) Files:

ChunkBinary

This example converts a 6144 x 6144 array of 16 bit unsigned ints into a chunked HDF scientific data set.

Since a 6144x6144 array is very large the array must be converted by reading in the array in sections, a smaller array or set of scanlines.

If your machine does not have enough memory to read in the first set of scanlines, the chunkbinary program will subdivide the array into smaller fractions and try to read in that smaller array into memory.


Chunkit

This example converts PATHFINDER Sea Surface Temperature (SST) data in HDF format into chunked HDF files.

Chunkit reads from one PATHFINDER SST input file and writes to a new file containing the new chunked datasets.

- - Last modified:December 14th 2007