NASA Logo
Ocean Color Science Software

ocssw V2022
main_l2gen.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>
#include <string.h>
#include <errno.h>
#include <unistd.h>
#include <libgen.h>
#include "l12_proto.h"
#include "lonlat2pixline.h"
#include "version.h"
#include "geo_region.h"
Include dependency graph for main_l2gen.c:

Go to the source code of this file.

Functions

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

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

check if the georegion has been supplied and check if it exists and can be opened.

Definition at line 40 of file main_l2gen.c.