# Requirements: # - CDF 3.1 library that is available at http://cdf.gsfc.nasa.gov # - ANSI C compiler # # # How to compile and link: # The cdf-to-pds binary executable is produced on Fedora Core 6. # If you have Linux other than Fedore Core 6, you might have to compile and # link from cdf-to-pds.c. # # cc -o -I cdf-to-pds.c /libcdf.a -lm # # where CDF_INC is the location of the CDF include directory and # CDF_LIB is the location of the CDF library directory. # # If the CDF library library is installed under /home/david, then # the build command is # # cc -o cdf-to-pds -I/home/david/include cdf-to-pds.c /home/david/libcdf.a -lm # # # How to execute cdf-to-pds: # # cdf-to-pds # # Typing cdf-to-pds alone will display the help message on the screen. # # # NOTE: # The cdf-to-pds program can handle a generic CDF file that contains scalar # variables. It currently DOES NOT support vectorts and 2-D and higher # dimensional arrays.