OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
main_l3gen.cpp File Reference
#include <stdio.h>
#include <math.h>
#include <iostream>
#include <sstream>
#include <list>
#include "netcdf.h"
#include "hdf_bin.h"
#include "version.h"
#include "l12_proto.h"
Include dependency graph for main_l3gen.cpp:

Go to the source code of this file.

Macros

#define NBINREAD   MAXPIX
 
#define FLAGMASK   PRODFAIL
 

Typedefs

typedef Hdf::binListStruct blstr
 

Functions

void l3gen_usage (char *prog)
 
void load_l3file_handle (int sensorID, int filenum, filehandle *file)
 
void load_input_filehandle (filehandle *l1file)
 
void load_l12 (l2str *l2rec)
 
int main (int argc, char *argv[])
 

Variables

instr * input
 

Macro Definition Documentation

◆ FLAGMASK

#define FLAGMASK   PRODFAIL

Definition at line 21 of file main_l3gen.cpp.

◆ NBINREAD

#define NBINREAD   MAXPIX

Definition at line 20 of file main_l3gen.cpp.

Typedef Documentation

◆ blstr

Definition at line 29 of file main_l3gen.cpp.

Function Documentation

◆ l3gen_usage()

void l3gen_usage ( char *  prog)

Definition at line 31 of file main_l3gen.cpp.

◆ load_input_filehandle()

void load_input_filehandle ( filehandle *  l1file)

Definition at line 48 of file main_l3gen.cpp.

◆ load_l12()

void load_l12 ( l2str *  l2rec)

Definition at line 83 of file main_l3gen.cpp.

◆ load_l3file_handle()

void load_l3file_handle ( int  sensorID,
int  filenum,
filehandle *  file 
)

Definition at line 35 of file main_l3gen.cpp.

◆ 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 117 of file main_l3gen.cpp.

Variable Documentation

◆ input

instr* input

Definition at line 111 of file main_l3gen.cpp.