/Users/huttone/Devel/sedflux-new/sedflux/trunk/ew/sedutils/sedflux-make-bathy.c File Reference

#include <glib.h>
#include <utils/utils.h>
#include <sed/sed_sedflux.h>

Go to the source code of this file.

Functions

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

Variables

GOptionEntry entries []


Function Documentation

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

Definition at line 35 of file sedflux-make-bathy.c.

References eh_dbl_grid_set_val(), eh_dlm_print_dbl_grid(), eh_fopen_error(), eh_fprint_version_info(), eh_fwrite_dbl_swap, eh_fwrite_int32_swap, eh_grid_data_start(), eh_grid_destroy(), eh_grid_new, eh_set_verbosity_level(), and entries.


Variable Documentation

GOptionEntry entries[]

Initial value:

{
   { "out-file"      , 'o' , 0 , G_OPTION_ARG_FILENAME , &out_file      , "Output bathymetry file"        , "<file>" } ,
   { "slope"         , 's' , 0 , G_OPTION_ARG_DOUBLE   , &slope         , "Bathymetric slope"             , "SLOPE"  } ,
   { "nx"            , 'x' , 0 , G_OPTION_ARG_INT      , &n_x           , "Number of cell in x-dimension" , "NX"     } ,
   { "ny"            , 'y' , 0 , G_OPTION_ARG_INT      , &n_y           , "Number of cell in y-dimension" , "NY"     } ,
   { "x-res"         , 'X' , 0 , G_OPTION_ARG_DOUBLE   , &x_res         , "Cell size in x-dimension (m)"  , "DX"     } ,
   { "y-res"         , 'Y' , 0 , G_OPTION_ARG_DOUBLE   , &y_res         , "Cell size in y-dimension (m)"  , "DY"     } ,
   { "big-endian"    , 'b' , 0 , G_OPTION_ARG_NONE     , &big_endian    , "Byte order is big endian"      , NULL     } ,
   { "little-endian" , 'l' , 0 , G_OPTION_ARG_NONE     , &little_endian , "Byte order is little endian"   , NULL     } ,
   { "ascii"         , 'a' , 0 , G_OPTION_ARG_NONE     , &ascii         , "Space delimited ASCII output"  , NULL     } ,
   { "verbose"       , 'V' , 0 , G_OPTION_ARG_INT      , &verbosity     , "Verbosity level"               , "n"      } ,
   { "version"       , 'v' , 0 , G_OPTION_ARG_NONE     , &version       , "Version number"                , NULL     } ,
   { "debug"         , 'd' , 0 , G_OPTION_ARG_NONE     , &debug         , "Write debugging messages"      , NULL     } ,
   { NULL }
}

Definition at line 18 of file sedflux-make-bathy.c.

Referenced by main().


Generated on Fri Jan 4 18:04:18 2008 for sedflux by  doxygen 1.5.2