The TRMM Data Reader is a tool that reads a TRMM HDF4 file and generate a binary or ASCII file for each selected SDS or Vdata. One can run this program in either the text-based interactive mode or the batch mode.
To build this program from the source code, users need to modify the source code.
One easy way is to open select_vNsds.c
and then replace
#include <path for hdf include directory>/hdf.h"
(around line 40) by #include "hdf.h"
.
Then, this program can be built using h4cc, distributed with the HDF4 binary package.
This package includes a README
file that explains how to use this program.
For a SDS, users can choose either ASCII format or a flat binary format. For a Vdata,
only the binary format can be chosen. The binary file does not contain any header. Information
about each field is written to the standard output.