
These files are provided as an aid to the user for examples in how to use the
HDF-EOS library.  The test drivers have been run on every platform supported
by the Toolkit.  Platforms supported by the Toolkit are listed in the 
README file located in doc directory.

==============================================================================
NOTE:  YOU MUST HAVE ALL OF THE TEXT FILES IN THE SAME DIRECTORY AS YOUR POINT 
	TEST DRIVERS.  THEY WILL CRASH WITHOUT THEM!!!!!!!!!!!!!!!!!!!!!!!!
==============================================================================


DRIVER(S)			PLATFORM(S)
=========			===========
testswath.c			C on all supported platforms
testgrid.c
testpoint.c

testswath.f			FORTRAN 77 on all supported platforms
testgrid.f			FORTRAN 90 on Power Challenge
testpoint.f



Compiling test drivers
Below are samples of how the test driver can be compilied and linked to create 
executables.

The c version of the test drivers were also compiled and linked in C++.

The HDFSYS flag is set by the user.  The list below gives what it should be
for each supported platform:
PLATFORM		HDFSYS FLAG
========		===========
Dec			DEC_ALPHA
Sgi			IRIX
Sgi Power Chall.	SGI64
Ibm			IBM6000
Sun Solaris 2.5		SUN5
Hp			HP9000

Swath & Point
=============
cc -DHDFSYS -o filename.o -I$HDFINC -I$HDFEOS_INC -c filename.c
cc -DHDFSYS -o filename filename.o -L$HDFLIB -L$HDFEOS_LIB \
        -lhdfeos -lmfhdf -ldf -ljpeg -lz -lnsl -lm

NOTE: subsitute "filename" with the name of a driver, AND THE ORDER OF THE LIBRARIES
      IS IMPORTANT. 
      IN ADDITION NOTICE THAT WE POINT TO BOTH STANDARD HDF AND HDFEOS LIBRARIES.
      THE "-lnsl" FLAG IS REQUIRED FOR THE SUN PLATFORMS ONLY

Grid
====
cc -DHDFSYS -o filename.o -I$HDFINC -I$HDFEOS_INC -c filename.c
cc -DHDFSYS -o filename filename.o -L$HDFLIB -L$HDFEOS_LIB \
        -lhdfeos -lGctp -lmfhdf -ldf -ljpeg -lz -lnsl -lm

NOTE: subsitute "filename" with the name of a driver, AND THE ORDER OF THE LIBRARIES
      IS IMPORTANT.  
      IN ADDITION:  NOTICE THAT THE GCTP LIBRARY IS SECOND IN THE LIBRARY LIST
      ALSO: YOU NEED TO POINT TO WHERE THE GEOLIB LIBRARY IS LOCATED ON YOUR
      SYSTEM
      THE "-lnsl" FLAG IS REQUIRED FOR THE SUN PLATFORMS ONLY
