raw2hdf.c File Reference

Command line tool that write binary data in the sds of an HDF file. More...

#include <stdio.h>
#include "mfhdf.h"

Classes

struct  SDS

Defines

#define MAXNAMELENGTH   200

Functions

int get_num_type (char *typename)
 retrieve an HDF type code using a string representatin of it
int main (int argc, char *argv[])
 command line tool entry point

Detailed Description

Command line tool that write binary data in the sds of an HDF file.

Author:
Jacques Descloitres, CGTD ICARE
Version:
1.0.0

----------------------------------------------------------------------------

History :

----------------------------------------------------------------------------


Function Documentation

int get_num_type ( char *  typename  ) 

retrieve an HDF type code using a string representatin of it

Parameters:
typename the type given in a string ("char8", "float64"...)
Returns:
the corresponding HDF type code (DFNT_CHAR8, DFNT_FLOAT64...)

Referenced by main().

int main ( int  argc,
char *  argv[] 
)

command line tool entry point

Parameters:
argc as usual
argv[] as usual
Returns:
0 if all works fine, -1 either

References get_num_type(), and verbose.


Generated on Wed Feb 10 10:13:49 2010 for hdf_tools.kdevelop by  doxygen 1.6.1