OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
val_extract-main.c File Reference
#include "argpar.h"
#include "olog.h"
#include "olog/loader.h"
#include "shash.h"
#include "val_extract.h"
#include <ctype.h>
#include <errno.h>
#include <stdbool.h>
#include <string.h>
Include dependency graph for val_extract-main.c:

Go to the source code of this file.

Classes

struct  val_extract_main_input
 

Macros

#define OFILE_DEFAULT_EXT   ".qc"
 
#define dprintf(...)   do {} while (0)
 
#define eprintf(...)   do { fprintf(stderr, __VA_ARGS__); } while(0)
 
#define str(s)   #s
 
#define expanded_str(s)   str(s)
 

Functions

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

Variables

const char * argpar_program_name = "val_extract"
 
const char * argpar_program_version = "1.3.2"
 
argpar val_extract_main_argpar = { options, parse_options, args_doc, doc, argpar_children }
 

Macro Definition Documentation

◆ dprintf

#define dprintf (   ...)    do {} while (0)

Definition at line 17 of file val_extract-main.c.

◆ eprintf

#define eprintf (   ...)    do { fprintf(stderr, __VA_ARGS__); } while(0)

Definition at line 20 of file val_extract-main.c.

◆ expanded_str

#define expanded_str (   s)    str(s)

Definition at line 23 of file val_extract-main.c.

◆ OFILE_DEFAULT_EXT

#define OFILE_DEFAULT_EXT   ".qc"

Definition at line 12 of file val_extract-main.c.

◆ str

#define str (   s)    #s

Definition at line 22 of file val_extract-main.c.

Function Documentation

◆ main()

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

An implementation of a Lon/Lat to UTM zone code written by Chuck Gantz chuck.nosp@m..gan.nosp@m.tz@gl.nosp@m.obal.nosp@m.star..nosp@m.com ...in 1998...found on http://www.gpsy.com/gpsinfo/geotoutm/, a site published by Karen Nakamura, last updated 22 June 2000.

Minor modifications to the code were made to eliminate deprecation warnings

Definition at line 444 of file val_extract-main.c.

Variable Documentation

◆ argpar_program_name

const char* argpar_program_name = "val_extract"

Definition at line 81 of file val_extract-main.c.

◆ argpar_program_version

const char* argpar_program_version = "1.3.2"

Used as the program version string. If set, a version=1 option is automatically added. argpar_program_version_hook takes precedence.

Definition at line 82 of file val_extract-main.c.

◆ val_extract_main_argpar

argpar val_extract_main_argpar = { options, parse_options, args_doc, doc, argpar_children }

Definition at line 156 of file val_extract-main.c.