Knowledge Base

Programs Developed for the TOVS Path-P Daily Data

List of Available Files

The following program files are available for download via HTTPS, along with the TOVS Pathfinder Path-P Daily and Monthly Polar Gridded Atmospheric Parameters data files, in the /tools/ directory.

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.
freadpathP_sample.f A function written in Fortran that returns the data contained in the HDF file.

Programs for reading Path-P ancillary data file (paths_ancil.hdf)

c_ancil.c A program written in C that shows how to access the ancillary 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 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

  • 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.

Requirements

  • HDF libraries (version 3.3 or higher)
  • Ansi-C compatible C compiler if compiling C programs
  • Fortran 77 complier for Fortran programs