OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
l1czcs.c File Reference
#include <unistd.h>
#include <libgen.h>
#include <string.h>
#include <stdio.h>
#include <sys/utsname.h>
#include "l1czcs.h"
#include <timeutils.h>
#include <passthebuck.h>
#include <GetStationInfo.h>
Include dependency graph for l1czcs.c:

Go to the source code of this file.

Macros

#define PROGRAM   "l1czcs"
 
#define VERSION   "1.1"
 
#define RET_GOOD   0
 
#define RET_ERR   1
 
#define RET_WARN   2
 
#define MAXLINE   3000
 

Functions

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

Macro Definition Documentation

◆ MAXLINE

#define MAXLINE   3000

Definition at line 43 of file l1czcs.c.

◆ PROGRAM

#define PROGRAM   "l1czcs"

Definition at line 37 of file l1czcs.c.

◆ RET_ERR

#define RET_ERR   1

Definition at line 40 of file l1czcs.c.

◆ RET_GOOD

#define RET_GOOD   0

Definition at line 39 of file l1czcs.c.

◆ RET_WARN

#define RET_WARN   2

Definition at line 41 of file l1czcs.c.

◆ VERSION

#define VERSION   "1.1"

Definition at line 38 of file l1czcs.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 45 of file l1czcs.c.