** DRAFT ** DRAFT ** ** DRAFT ** DRAFT ** ** DRAFT **
List of Available Files:
Makefile
README
c_ancil.c
c_sample.c
creadpathP_ancil.c
creadpathP_sample.c
fortran_ancil.f
fortran_sample.f
freadpathP_ancil.f
freadpathP_sample.f
pathp_ancil.hdf
pathp_sample.hdf
File Descriptions:
c_sample.c A sample program written in C that shows
how to access the data using a C program.
This program illustrates how to use the functions
{c,f}readpathP.{c,f}. Instead of writing the data
out in binary format, the user may pass the data to
another processing routine thereby avoiding the need
to make copies of the HDF formatted data set.
fortran_sample.f A sample program written in Fortran that
shows how to access the data using a Fortran
program.
creadpathP_sample.c A function written in C that returns the
data contained in the HDF file.
fpreadpathP_sample.f A function written in Fortran that returns the
data contained in the HDF file.
Programs for reading Path P ancillary data file (pathp_ancil.hdf):
c_ancil.c A program written in C that shows how to
access the ancillary data using a C program.
This program is meant as an illustration
of how to use the functions {c,f}readpathP.{c,f}.
Instead of writing the data out in binary
format the user may pass the data to another
processing routine, thereby avoiding the need of
making copies of the HDF formatted data set.
fortran_ancil.f A program written in Fortran that shows how
to access the ancillary data using a Fortran
program.
creadpathP_ancil.c A function written in C that returns the
data contained in the HDF file.
freadpathP_ancil.f A function written in Fortran that returns the
data contained in the HDF file.
Instructions for compiling programs:
Requirements:
HDF libraries (Version 3.3 or higher). Source code or compiled
versions are available for most architectures from.
http://hdf.ncsa.uiuc.edu/obtain.html
Ansi- C compatible C compiler if compiling C programs.
Fortan 77 compiler for fortran programs.
- Edit the Makefile. Look for the switches for your architecture/operating system.
- Check for Comments in the *.f source file. Some compilers define
record lengths in either bytes or longwords. You may have to
modify the source accordingly.