OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
main_l1bgen.c File Reference
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <fcntl.h>
#include <string.h>
#include <errno.h>
#include <unistd.h>
#include <libgen.h>
#include <math.h>
#include "l12_proto.h"
Include dependency graph for main_l1bgen.c:

Go to the source code of this file.

Macros

#define INT32   int32_t
 
#define FLOAT32   float
 
#define BYTE   unsigned char
 

Functions

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

Macro Definition Documentation

◆ BYTE

#define BYTE   unsigned char

Definition at line 37 of file main_l1bgen.c.

◆ FLOAT32

#define FLOAT32   float

Definition at line 36 of file main_l1bgen.c.

◆ INT32

#define INT32   int32_t

Definition at line 35 of file main_l1bgen.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 44 of file main_l1bgen.c.

◆ msl1bgen_usage()

int msl1bgen_usage ( char *  prog)